Skip to content

Commit

Permalink
feat(app): reduce networks worker frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Aug 2, 2024
1 parent 6fdb7bf commit 32faba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/core/networks/networks.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class NetworkWorker extends Worker<NetworkQueue> {
if (runningJobs.find((j) => j.data.chain === network.chain.key)) continue;

const chain = network.chain.key;
this.queue.add(chain, { chain }, { repeat: { every: 2_000 /* ms */ }, ...NON_RETRYING_JOB });
this.queue.add(chain, { chain }, { repeat: { every: 5_000 /* ms */ }, ...NON_RETRYING_JOB });
}
}
}

0 comments on commit 32faba3

Please sign in to comment.