From 9d14f66e8e2d73fd4931ae691491e512f456bc79 Mon Sep 17 00:00:00 2001 From: Hayden Briese Date: Fri, 26 Jul 2024 11:31:10 +1000 Subject: [PATCH] test(api): increase db retry attempts for contentious queries --- 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 9aa42a6dc..b749ae6c6 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: 5 }); + .withRetryOptions({ attempts: 7 }); this.DANGEROUS_superuserClient = this.__client.withConfig({ apply_access_policies: false }); }