mirror of https://github.com/grpc/grpc-node.git
grpc-js: Add tracing of channel options in channel and subchannel constructors
This commit is contained in:
parent
e876b529b3
commit
897df7d7bb
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@grpc/grpc-js",
|
||||
"version": "1.3.7",
|
||||
"version": "1.3.8",
|
||||
"description": "gRPC Library for Node - pure JS implementation",
|
||||
"homepage": "https://grpc.io/",
|
||||
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
||||
|
|
|
@ -290,6 +290,7 @@ export class ChannelImplementation implements Channel {
|
|||
new MaxMessageSizeFilterFactory(this.options),
|
||||
new CompressionFilterFactory(this),
|
||||
]);
|
||||
trace(LogVerbosity.DEBUG, 'channel', 'Channel constructed with options ' + JSON.stringify(options, undefined, 2));
|
||||
}
|
||||
|
||||
private callRefTimerRef() {
|
||||
|
|
|
@ -247,6 +247,7 @@ export class Subchannel {
|
|||
this.handleBackoffTimer();
|
||||
}, backoffOptions);
|
||||
this.subchannelAddressString = subchannelAddressToString(subchannelAddress);
|
||||
trace('Subchannel constructed with options ' + JSON.stringify(options, undefined, 2));
|
||||
}
|
||||
|
||||
private handleBackoffTimer() {
|
||||
|
|
Loading…
Reference in New Issue