Skip to content

Commit

Permalink
grpc-js: Remove logging in QueuePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Sep 8, 2023
1 parent 036e0e1 commit 4bff372
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/grpc-js/src/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@

import { StatusObject } from './call-interface';
import { Metadata } from './metadata';
import { LogVerbosity, Status } from './constants';
import { Status } from './constants';
import { LoadBalancer } from './load-balancer';
import { SubchannelInterface } from './subchannel-interface';
import { trace } from './logging';

export enum PickResultType {
COMPLETE,
Expand Down Expand Up @@ -135,12 +134,6 @@ export class QueuePicker {
) {}

pick(pickArgs: PickArgs): PickResult {
trace(
LogVerbosity.DEBUG,
'picker',
'Queue picker called for load balancer of type ' +
this.loadBalancer.constructor.name
);
if (!this.calledExitIdle) {
process.nextTick(() => {
this.loadBalancer.exitIdle();
Expand Down

0 comments on commit 4bff372

Please sign in to comment.