From 03150f90df9a4fd48bf0277ad9fcdfbb4c111aba Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Thu, 3 Aug 2023 23:15:37 -0400 Subject: [PATCH] db timeouts --- src/app.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index 0a220c7..06fca4e 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -40,7 +40,9 @@ const ORMModules = [ cache: true, logging: false, enableWAL: true, - busyErrorRetry: 60 * 1000 + busyErrorRetry: 120 * 1000, + busyTimeout: 120 * 1000, + }), CacheModule.register(), ScheduleModule.forRoot(),