Skip to content

Commit

Permalink
rmv onstart jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd committed Dec 9, 2024
1 parent a4d61e2 commit f141750
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ const withTimeout = async (promise: Promise<any>, timeoutMinutes: number) => {
};

const cron = () => {
withTimeout(runAllAdapters(), 10);
withTimeout(runAggregateAllAdapters(), 20);
withTimeout(runWormhole(), 30);

new CronJob("15,30,45 * * * *", async () => {
await withTimeout(runAllAdapters(), 10);
}).start();
Expand Down

0 comments on commit f141750

Please sign in to comment.