Skip to content

Commit

Permalink
fix: increase cachedRoutes TTL from 1h->12h for WolrdChain (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv authored Dec 19, 2024
1 parent e44eb79 commit 8e2b650
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/util/defaultBlocksToLiveRoutesDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const DEFAULT_BLOCKS_TO_LIVE_ROUTES_DB: { [chain in ChainId]: number } =
[ChainId.BASE_GOERLI]: 1800,
[ChainId.ZORA_SEPOLIA]: 1800,
[ChainId.BLAST]: 1800,
[ChainId.WORLDCHAIN]: 1800,
// Note: Experiment with longer TTL
// (12 hours) / (2 seconds) = 21600
[ChainId.WORLDCHAIN]: 21600,
// (60 minutes) / (1 seconds) = 3600
[ChainId.ASTROCHAIN_SEPOLIA]: 3600,
// (60 minutes) / (250 milliseconds) = 14400
Expand Down

0 comments on commit 8e2b650

Please sign in to comment.