From 43889a31685b073ba1282d1be1cfcf74b5ee29d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Podsiad=C5=82y?= <67391475+sdlyy@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:25:39 +0200 Subject: [PATCH] Sync DB timeouts with dyno (#116) --- 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: {