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 525a23a commit 47a6a13Copy full SHA for 47a6a13
src/databases/Postgres.ts
@@ -39,8 +39,7 @@ export class Postgres implements IDatabase {
39
40
async init(): Promise<void> {
41
this.pool = new Pool({
42
- ...this.config.postgres,
43
- statement_timeout: 25000
+ ...this.config.postgres
44
});
45
this.pool.on("error", (err, client) => {
46
Logger.error(err.stack);
@@ -55,8 +54,7 @@ export class Postgres implements IDatabase {
55
54
56
if (this.config.postgresReadOnly && this.config.postgresReadOnly.enabled) {
57
this.poolRead = new Pool({
58
- ...this.config.postgresReadOnly,
59
- statement_timeout: 1500
+ ...this.config.postgresReadOnly
60
61
this.poolRead.on("error", (err, client) => {
62
0 commit comments