From ea551f098ffc7468e56624938219668c4c5f95f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Podsiad=C5=82y?= Date: Tue, 2 Jul 2024 11:12:19 +0200 Subject: [PATCH] feat: sync db timeouts --- packages/backend/src/peripherals/database/shared/Database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/peripherals/database/shared/Database.ts b/packages/backend/src/peripherals/database/shared/Database.ts index f63bfd8..ef617d4 100644 --- a/packages/backend/src/peripherals/database/shared/Database.ts +++ b/packages/backend/src/peripherals/database/shared/Database.ts @@ -21,7 +21,7 @@ export class Database { this.knex = KnexConstructor({ client: 'pg', pool: { - idleTimeoutMillis: 120 * 1000, + idleTimeoutMillis: 360 * 1000, }, connection, migrations: {