Skip to content

Commit

Permalink
Clear debug logs with resolver results
Browse files Browse the repository at this point in the history
  • Loading branch information
defi-dev committed Jul 2, 2024
1 parent bdbaab3 commit b70e600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ export class Network {
this.clog('error', `queryPollResolvers error: ${e.message}`);
return;
}
this.clog('debug', `CallResolvers: Polling resolver results: ${JSON.stringify(results)}`);
// this.clog('debug', `CallResolvers: Polling resolver results: ${JSON.stringify(results)}`);

for (let i = 0; i < results.length; i++) {
const { jobKey } = resolversToCall[i];
Expand All @@ -632,7 +632,7 @@ export class Network {
this.unregisterResolver(jobKey);
continue;
}
this.clog('debug', `CallResolvers: Job ${jobKey} resolver returned: ${decoded[0]}`);
// this.clog('debug', `CallResolvers: Job ${jobKey} resolver returned: ${decoded[0]}`);
const job = this.resolverJobData[jobKey];
if (this.latestBlockNumber > job.lastSuccessBlock) {
job.lastSuccessBlock = decoded[0] ? this.latestBlockNumber : 0n;
Expand Down

0 comments on commit b70e600

Please sign in to comment.