Skip to content

Commit

Permalink
fix minor
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Jan 9, 2024
1 parent e20132b commit d77499c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function startServer() {
new ProfilingIntegration(),
],
tracesSampleRate: 0.005,
profilesSampleRate: 0.005,
profilesSampleRate: 0.1,
beforeSend(event, hint) {
const error = hint.originalException as string;
if (error?.toString().includes('Unknown token:')) {
Expand Down
2 changes: 1 addition & 1 deletion modules/token/token.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class TokenService {
}

public async purgeOldTokenPricesForAllChains() {
await this.tokenPriceService.purgeOldTokenPricesForAllChains();
return this.tokenPriceService.purgeOldTokenPricesForAllChains();
}

public async deleteTokenPrice(args: MutationTokenDeletePriceArgs) {
Expand Down
2 changes: 1 addition & 1 deletion worker/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function startWorker() {
new ProfilingIntegration(),
],
tracesSampleRate: 0.005,
profilesSampleRate: 0.005,
profilesSampleRate: 0.1,
});

app.use(Sentry.Handlers.requestHandler());
Expand Down

0 comments on commit d77499c

Please sign in to comment.