Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix(prices): Cache prices for 1 minute #411

Merged
merged 2 commits into from
May 9, 2022

Conversation

immasandwich
Copy link
Contributor

Description

If the cache is not set with a TTL, then the prices cache is never cleared. This was an issue for a user that needed the THALES token. We added the token, but their prices response still didn't have THALES token because it was always reading from cache.

Checklist

How to test?

@immasandwich immasandwich changed the title Cache prices for 1 minute fix: Cache prices for 1 minute May 9, 2022
@immasandwich immasandwich changed the title fix: Cache prices for 1 minute fix(prices): Cache prices for 1 minute May 9, 2022
@immasandwich immasandwich merged commit 9920de0 into main May 9, 2022
@immasandwich immasandwich deleted the cache-prices-for-one-minute branch May 9, 2022 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant