diff --git a/src/jobs/element-sync/index.ts b/src/jobs/element-sync/index.ts index b36786f..0150138 100644 --- a/src/jobs/element-sync/index.ts +++ b/src/jobs/element-sync/index.ts @@ -31,7 +31,7 @@ if (config.doRealtimeWork) { } }); - cron.schedule("*/15 * * * * *", async () => { + cron.schedule("*/10 * * * * *", async () => { if (new Element().getChainName()) { const lockAcquired = await acquireLock( "element-sync-offers-lock", diff --git a/src/utils/element.ts b/src/utils/element.ts index 3b38c97..95eccb5 100644 --- a/src/utils/element.ts +++ b/src/utils/element.ts @@ -56,8 +56,8 @@ export enum SaleKind { export class Element { public getChainName() { switch (config.chainId) { - // case 1: - // return "eth"; + case 1: + return "eth"; case 10: return "optimism"; case 56: @@ -72,14 +72,14 @@ export class Element { // return "base"; case 42161: return "arbitrum"; - case 43114: - return "avalanche"; + // case 43114: + // return "avalanche"; case 59144: return "linea"; case 81457: return "blast"; - case 534352: - return "scroll"; + // case 534352: + // return "scroll"; default: return undefined; }