Skip to content

Commit

Permalink
test(api): increase db retry attempts for contentious queries
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Jul 26, 2024
1 parent eb8ba72 commit 9d14f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/core/database/database.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class DatabaseService implements OnModuleInit {
.withConfig({
allow_user_specified_id: true /* Required for account insertion */,
})
.withRetryOptions({ attempts: 5 });
.withRetryOptions({ attempts: 7 });
this.DANGEROUS_superuserClient = this.__client.withConfig({ apply_access_policies: false });
}

Expand Down

0 comments on commit 9d14f66

Please sign in to comment.