-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
perf: Call update cake apr once instead of per farm when initial load #10774
base: develop
Are you sure you want to change the base?
perf: Call update cake apr once instead of per farm when initial load #10774
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
|
6f2570a
to
9cf8fc8
Compare
PR-Codex overview
This PR focuses on improving the handling of APR (Annual Percentage Rate) calculations and cache management for different pools in the application, streamlining the code and enhancing performance by optimizing how data is fetched and processed.
Detailed summary
pools
inatom.ts
.fetchMerklApr
andfetchCakeApr
functions inhooks.ts
.useQuery
calls.fetcher.ts
for better readability and efficiency.getCakePrice
function to eliminate unnecessary caching logic.