-
Notifications
You must be signed in to change notification settings - Fork 15
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
V3 canary #631
Conversation
franzns
commented
Jan 9, 2024
•
edited
Loading
edited
- add sentry integrations
- optimize lifetime value update
- set cron intervals to standard on three balancer chains (mainnet, polygon, arb)
- run purge token prices only once for all chains
This reverts commit 0be3079.
app.ts
Outdated
tracesSampleRate: 0.2, | ||
profilesSampleRate: 0.1, | ||
tracesSampleRate: 0.005, | ||
profilesSampleRate: 0.005, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one depends on tracesSampleRate, so now it's 0.005 of 0.005 total traces. we can leave it as 0.1 - 10% of traces.
modules/token/token.service.ts
Outdated
public async purgeOldTokenPricesForAllChains() { | ||
await this.tokenPriceService.purgeOldTokenPricesForAllChains(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
async / await can be skipped here, because we don't use results within the function and it returns a promise anyways
worker/worker.ts
Outdated
tracesSampleRate: 0.2, | ||
profilesSampleRate: 0.1, | ||
tracesSampleRate: 0.005, | ||
profilesSampleRate: 0.005, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as in the app