Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Review bugtime refactor before] Optimize requests #293

Merged
merged 8 commits into from
May 29, 2022
Merged

Conversation

Corantin
Copy link
Collaborator

Reduce the amount of rpc calls by improving caching + having a persistent storage
cache :

  • token-info : never expire
  • token-price : expires after 30 min
  • balance : expires after 30 sec (used because dashboard balance fetch + quest balance)

@vercel
Copy link

vercel bot commented May 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
quests ✅ Ready (Inspect) Visit Preview May 29, 2022 at 0:01AM (UTC)

@Corantin Corantin changed the base branch from main to dev May 29, 2022 00:01
@Corantin Corantin changed the title Optimize requests [Review bugtime refactor before] Optimize requests May 29, 2022
@codecov
Copy link

codecov bot commented May 29, 2022

Codecov Report

Merging #293 (6cb44bc) into dev (9b7ae45) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev      #293   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           56        56           
  Branches        13        13           
=========================================
  Hits            56        56           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b7ae45...6cb44bc. Read the comment docs.

@Corantin Corantin merged commit 6a958d0 into dev May 29, 2022
@Corantin Corantin deleted the optimize-requests branch May 29, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant