We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3122560 commit 8f2b2a4Copy full SHA for 8f2b2a4
1 file changed
api/db/index.ts
@@ -7,8 +7,8 @@ export const pool = new pg.Pool({
7
max: 8,
8
ssl: process.env.PGSSL ? process.env.PGSSL === 'true' : { rejectUnauthorized: false },
9
connectionTimeoutMillis: 500,
10
- // Statement query is at the Postgres side, times out any individual query
11
- statement_timeout: 750,
+ // Statement timeout is at the Postgres side, times out any individual query
+ // statement_timeout: 750, // TODO: doesn't work with pgbouncer?
12
// Query timeout is on the NodeJS side, it times out the an operation on the client
13
query_timeout: 1000,
14
});
0 commit comments