mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #2383 from murgatroid99/grpc-js_pick_start_log
grpc-js: Trace before call to LB policy picker
This commit is contained in:
commit
e66909d8e4
@ -102,6 +102,7 @@ export class LoadBalancingCall implements Call {
|
||||
if (!this.metadata) {
|
||||
throw new Error('doPick called before start');
|
||||
}
|
||||
this.trace('Pick called')
|
||||
const pickResult = this.channel.doPick(this.metadata, this.callConfig.pickInformation);
|
||||
const subchannelString = pickResult.subchannel ?
|
||||
'(' + pickResult.subchannel.getChannelzRef().id + ') ' + pickResult.subchannel.getAddress() :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user