Skip to content

Commit

Permalink
Revert "test cpu (#997)" (#998)
Browse files Browse the repository at this point in the history
This reverts commit ccd9eaa.
  • Loading branch information
gmbronco authored Oct 2, 2024
1 parent ccd9eaa commit cb273b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/scheduler/job-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ const workerQueue = new WokerQueue(new SQSClient({}), env.WORKER_QUEUE_URL);

export async function scheduleJobs(chainId: string): Promise<void> {
for (const job of AllNetworkConfigs[chainId].workerJobs) {
if (job.name === 'sync-changed-pools') {
console.log(`Initializing job ${job.name}-${chainId}-init`);
await workerQueue.sendWithInterval(JSON.stringify({ name: job.name, chain: chainId }), job.interval);
}
console.log(`Initializing job ${job.name}-${chainId}-init`);
await workerQueue.sendWithInterval(JSON.stringify({ name: job.name, chain: chainId }), job.interval);
}
}

0 comments on commit cb273b3

Please sign in to comment.