Skip to content

Commit

Permalink
feat(ArNSNamesCache): reduce name list cache ttl to 5 minutes
Browse files Browse the repository at this point in the history
This will help new name resolutions appear relatively quickly. That
said, we still have a more work to fully specify ArNS resolution
behavior. Expect revisions to this in the future.
  • Loading branch information
djwhitt committed Nov 20, 2024
1 parent 1113488 commit cab3f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export const ARNS_ON_DEMAND_CIRCUIT_BREAKER_RESET_TIMEOUT_MS =

export const ARNS_NAMES_CACHE_TTL_SECONDS = +env.varOrDefault(
'ARNS_NAMES_CACHE_TTL_SECONDS',
`${60 * 60}`, // 1 hour
`${5 * 60}`, // 5 minutes
);

// TODO: support multiple gateway urls
Expand Down

0 comments on commit cab3f9c

Please sign in to comment.