Skip to content

Commit 7f35f5b

Browse files
committed
add some more timeouts
1 parent 7d4b5ee commit 7f35f5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

svc/api/spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ import { matchupToString } from "../util/matchups.ts";
9494
const pool = new Pool({
9595
connectionString: config.READONLY_POSTGRES_URL,
9696
statement_timeout: 15000,
97+
query_timeout: 15000,
98+
lock_timeout: 15000,
99+
connectionTimeoutMillis: 15000,
100+
max: 5,
97101
});
98102

99103
const parameters = {

0 commit comments

Comments
 (0)