mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Remove temporary debug log line
This commit is contained in:
parent
17f72d34b9
commit
a907086be4
@ -338,14 +338,9 @@ class XdsResolver implements Resolver {
|
||||
this.clusterRefcounts.set(name, {inLastConfig: true, refCount: 0});
|
||||
}
|
||||
}
|
||||
let configSelectorLogCounter = 0;
|
||||
const configSelector: ConfigSelector = (methodName, metadata) => {
|
||||
for (const {matcher, action} of matchList) {
|
||||
if (matcher.apply(methodName, metadata)) {
|
||||
// 37 is coprime with most relevant numbers
|
||||
if (configSelectorLogCounter % 37 === 0) {
|
||||
trace('Call with method ' + methodName + ' and metadata ' + JSON.stringify(metadata.getMap(), undefined, 2) + ' matched ' + matcher.toString());
|
||||
}
|
||||
const clusterName = action.getCluster();
|
||||
this.refCluster(clusterName);
|
||||
const onCommitted = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user