grpc-js: Remove logging in QueuePicker

This commit is contained in:
Michael Lumish 2023-09-07 17:24:17 -07:00
parent 036e0e1b7f
commit 4bff372df7
1 changed files with 1 additions and 8 deletions

View File

@ -17,10 +17,9 @@
import { StatusObject } from './call-interface'; import { StatusObject } from './call-interface';
import { Metadata } from './metadata'; import { Metadata } from './metadata';
import { LogVerbosity, Status } from './constants'; import { Status } from './constants';
import { LoadBalancer } from './load-balancer'; import { LoadBalancer } from './load-balancer';
import { SubchannelInterface } from './subchannel-interface'; import { SubchannelInterface } from './subchannel-interface';
import { trace } from './logging';
export enum PickResultType { export enum PickResultType {
COMPLETE, COMPLETE,
@ -135,12 +134,6 @@ export class QueuePicker {
) {} ) {}
pick(pickArgs: PickArgs): PickResult { pick(pickArgs: PickArgs): PickResult {
trace(
LogVerbosity.DEBUG,
'picker',
'Queue picker called for load balancer of type ' +
this.loadBalancer.constructor.name
);
if (!this.calledExitIdle) { if (!this.calledExitIdle) {
process.nextTick(() => { process.nextTick(() => {
this.loadBalancer.exitIdle(); this.loadBalancer.exitIdle();