mirror of https://github.com/grpc/grpc-node.git
Use call start times in some trace logs
This commit is contained in:
parent
d7d171776d
commit
f4330f72c9
|
@ -121,7 +121,8 @@ export class LoadBalancingCall implements Call, DeadlineInfoProvider {
|
||||||
status.code +
|
status.code +
|
||||||
' details="' +
|
' details="' +
|
||||||
status.details +
|
status.details +
|
||||||
'"'
|
'" start time=' +
|
||||||
|
this.startTime.toISOString()
|
||||||
);
|
);
|
||||||
const finalStatus = { ...status, progress };
|
const finalStatus = { ...status, progress };
|
||||||
this.listener?.onReceiveStatus(finalStatus);
|
this.listener?.onReceiveStatus(finalStatus);
|
||||||
|
|
|
@ -261,7 +261,8 @@ export class RetryingCall implements Call, DeadlineInfoProvider {
|
||||||
statusObject.code +
|
statusObject.code +
|
||||||
' details="' +
|
' details="' +
|
||||||
statusObject.details +
|
statusObject.details +
|
||||||
'"'
|
'" start time=' +
|
||||||
|
this.startTime.toISOString()
|
||||||
);
|
);
|
||||||
this.bufferTracker.freeAll(this.callNumber);
|
this.bufferTracker.freeAll(this.callNumber);
|
||||||
this.writeBufferOffset = this.writeBufferOffset + this.writeBuffer.length;
|
this.writeBufferOffset = this.writeBufferOffset + this.writeBuffer.length;
|
||||||
|
|
Loading…
Reference in New Issue