From 42f9d81a5f56e57296917f011f2f3c36dc498031 Mon Sep 17 00:00:00 2001 From: Ola Okelola <10857143+lolopinto@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:15:47 -0800 Subject: [PATCH] increase max_connections for node js postgres tests (#1841) --- .github/workflows/node.js.yml | 2 +- ts/src/core/db_postgres_parallel.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4b22993a3..eb81a21f7 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,7 +31,7 @@ jobs: env: POSTGRES_PASSWORD: postgres name: 'PGOPTIONS' - value: '-c max_connections=200' + value: '-c max_connections=1000' # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready diff --git a/ts/src/core/db_postgres_parallel.test.ts b/ts/src/core/db_postgres_parallel.test.ts index a6fa1a004..20209f8ed 100644 --- a/ts/src/core/db_postgres_parallel.test.ts +++ b/ts/src/core/db_postgres_parallel.test.ts @@ -29,7 +29,7 @@ test("lots of writes at once", async () => { user, password, database: tdb.getDB(), - max: 100, + max: 1000, host: "localhost", }, });