From 1a773a172defe77977ddf25b81c9f9b7104677e5 Mon Sep 17 00:00:00 2001 From: Hayden Briese Date: Tue, 20 Aug 2024 16:39:55 +1000 Subject: [PATCH] feat(api): increase max db retries --- api/src/core/database/database.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/core/database/database.service.ts b/api/src/core/database/database.service.ts index 8ca42d97e..eb82457d2 100644 --- a/api/src/core/database/database.service.ts +++ b/api/src/core/database/database.service.ts @@ -26,7 +26,7 @@ export class DatabaseService implements OnModuleInit { .withConfig({ allow_user_specified_id: true /* Required for account insertion */, }) - .withRetryOptions({ attempts: 7 }); + .withRetryOptions({ attempts: 10 }); this.DANGEROUS_superuserClient = this.__client.withConfig({ apply_access_policies: false }); }