Skip to content

Commit

Permalink
chore: update UNSUPPORTED_TOKEN_TTL
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Oct 19, 2023
1 parent a155a99 commit 8f4fea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cowswap-frontend/src/common/updaters/FeesUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const TYPED_VALUE_DEBOUNCE_TIME = 350
const REFETCH_CHECK_INTERVAL = 10000 // Every 10s
const RENEW_FEE_QUOTES_BEFORE_EXPIRATION_TIME = 30000 // Will renew the quote if there's less than 30 seconds left for the quote to expire
const WAITING_TIME_BETWEEN_EQUAL_REQUESTS = 5000 // Prevents from sending the same request to often (max, every 5s)
const UNSUPPORTED_TOKEN_TTL = ms`1m` // TODO: change to 1h after testing
const UNSUPPORTED_TOKEN_TTL = ms`1h`

/**
* Since a token might become supported, we should periodically (once in 1h) refresh its state
Expand Down

0 comments on commit 8f4fea2

Please sign in to comment.