Skip to content

Commit

Permalink
Increase relay rate limit TTL (#1971)
Browse files Browse the repository at this point in the history
Increases the relay rate limit TTL fallback value to 24 hours:

- Change `relay.ttlSeconds` value to `60 * 60 * 24`
  • Loading branch information
iamacook authored Oct 8, 2024
1 parent a6a7324 commit ac17d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/entities/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export default () => ({
process.env.RELAY_PROVIDER_API_BASE_URI || 'https://api.gelato.digital',
limit: parseInt(process.env.RELAY_THROTTLE_LIMIT ?? `${5}`),
ttlSeconds: parseInt(
process.env.RELAY_THROTTLE_TTL_SECONDS ?? `${60 * 60}`,
process.env.RELAY_THROTTLE_TTL_SECONDS ?? `${60 * 60 * 24}`,
),
apiKey: {
// Optimism
Expand Down

0 comments on commit ac17d22

Please sign in to comment.