Skip to content

Commit 4fa3cc9

Browse files
authored
Increase query timeout to 30 seconds in services (#1415)
1 parent 872f5e0 commit 4fa3cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/libs/database/src/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const getDbConnection = async (
6262
dbConnection = dbInstance({
6363
...config,
6464
max: maxPoolSize || 5,
65-
query_timeout: 10000,
65+
query_timeout: 30000,
6666
})
6767

6868
await dbConnection.connect()

0 commit comments

Comments
 (0)