Skip to content

Commit

Permalink
Change to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Sep 4, 2024
1 parent e11b53a commit 60a8f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@n8n/config/src/configs/database.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class PostgresConfig {

/** Postgres connection timeout (ms) */
@Env('DB_POSTGRESDB_CONNECTION_TIMEOUT')
connectionTimeoutMs: number = 5000;
connectionTimeoutMs: number = 1000;

@Nested
ssl: PostgresSSLConfig;
Expand Down
2 changes: 1 addition & 1 deletion packages/@n8n/config/test/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('GlobalConfig', () => {
poolSize: 2,
port: 5432,
schema: 'public',
connectionTimeoutMs: 5000,
connectionTimeoutMs: 1000,
ssl: {
ca: '',
cert: '',
Expand Down

0 comments on commit 60a8f20

Please sign in to comment.