Skip to content

Commit

Permalink
setting up sync-changed-pools job action
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Sep 27, 2024
1 parent 6139a97 commit 3574074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/worker/job-handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function configureWorkerRoutes(app: Express) {
const setupJobHandlers = async (name: string, chainId: string, res: any, next: NextFunction) => {
switch (name) {
case 'sync-changed-pools':
await runIfNotAlreadyRunning(name, chainId, () => poolService.syncChangedPools(), res, next);
await runIfNotAlreadyRunning(name, chainId, () => PoolsV2Controller().syncChangedPools(chainId), res, next);
break;

case 'user-sync-wallet-balances-for-all-pools':
Expand Down

0 comments on commit 3574074

Please sign in to comment.