From 57aa0d3487778574329d754d1a4ddb816fc0bb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 4 Sep 2024 17:32:33 +0200 Subject: [PATCH 1/3] docs: Postgres connection timeout --- docs/hosting/configuration/environment-variables/database.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/hosting/configuration/environment-variables/database.md b/docs/hosting/configuration/environment-variables/database.md index 8802b944854..8b12f377676 100644 --- a/docs/hosting/configuration/environment-variables/database.md +++ b/docs/hosting/configuration/environment-variables/database.md @@ -33,6 +33,7 @@ This page outlines environment variables to configure your chosen database for y | `DB_POSTGRESDB_USER`
/`_FILE` | String | `postgres` | The PostgreSQL user. | | `DB_POSTGRESDB_PASSWORD`
/`_FILE` | String | - | The PostgreSQL password. | | `DB_POSTGRESDB_POOL_SIZE`
/`_FILE` | Number | `2` | Control how many parallel open Postgres connections n8n should have. Increasing it may help with resource utilization, but too many connections may degrade performance. | +| `DB_POSTGRESDB_CONNECTION_TIMEOUT`
/`_FILE` | Number | `5000` | Postgres connection timeout (ms). | `DB_POSTGRESDB_SCHEMA`
/`_FILE` | String | `public` | The PostgreSQL schema. | | `DB_POSTGRESDB_SSL_CA`
/`_FILE` | String | - | The PostgreSQL SSL certificate authority. | | `DB_POSTGRESDB_SSL_CERT`
/`_FILE` | String | - | The PostgreSQL SSL certificate. | From 098e486bb877e743c9e5712ace53a80cdbfab022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 4 Sep 2024 17:36:01 +0200 Subject: [PATCH 2/3] Change to 1s --- docs/hosting/configuration/environment-variables/database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/configuration/environment-variables/database.md b/docs/hosting/configuration/environment-variables/database.md index 8b12f377676..a5d370da353 100644 --- a/docs/hosting/configuration/environment-variables/database.md +++ b/docs/hosting/configuration/environment-variables/database.md @@ -33,7 +33,7 @@ This page outlines environment variables to configure your chosen database for y | `DB_POSTGRESDB_USER`
/`_FILE` | String | `postgres` | The PostgreSQL user. | | `DB_POSTGRESDB_PASSWORD`
/`_FILE` | String | - | The PostgreSQL password. | | `DB_POSTGRESDB_POOL_SIZE`
/`_FILE` | Number | `2` | Control how many parallel open Postgres connections n8n should have. Increasing it may help with resource utilization, but too many connections may degrade performance. | -| `DB_POSTGRESDB_CONNECTION_TIMEOUT`
/`_FILE` | Number | `5000` | Postgres connection timeout (ms). +| `DB_POSTGRESDB_CONNECTION_TIMEOUT`
/`_FILE` | Number | `1000` | Postgres connection timeout (ms). | `DB_POSTGRESDB_SCHEMA`
/`_FILE` | String | `public` | The PostgreSQL schema. | | `DB_POSTGRESDB_SSL_CA`
/`_FILE` | String | - | The PostgreSQL SSL certificate authority. | | `DB_POSTGRESDB_SSL_CERT`
/`_FILE` | String | - | The PostgreSQL SSL certificate. | From 6b6a9b225fb2e0ef3bc0e6bcdff317f795ac1230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 6 Sep 2024 12:12:49 +0200 Subject: [PATCH 3/3] Update default --- docs/hosting/configuration/environment-variables/database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/configuration/environment-variables/database.md b/docs/hosting/configuration/environment-variables/database.md index a5d370da353..4c93918a42b 100644 --- a/docs/hosting/configuration/environment-variables/database.md +++ b/docs/hosting/configuration/environment-variables/database.md @@ -33,7 +33,7 @@ This page outlines environment variables to configure your chosen database for y | `DB_POSTGRESDB_USER`
/`_FILE` | String | `postgres` | The PostgreSQL user. | | `DB_POSTGRESDB_PASSWORD`
/`_FILE` | String | - | The PostgreSQL password. | | `DB_POSTGRESDB_POOL_SIZE`
/`_FILE` | Number | `2` | Control how many parallel open Postgres connections n8n should have. Increasing it may help with resource utilization, but too many connections may degrade performance. | -| `DB_POSTGRESDB_CONNECTION_TIMEOUT`
/`_FILE` | Number | `1000` | Postgres connection timeout (ms). +| `DB_POSTGRESDB_CONNECTION_TIMEOUT`
/`_FILE` | Number | `20000` | Postgres connection timeout (ms). | `DB_POSTGRESDB_SCHEMA`
/`_FILE` | String | `public` | The PostgreSQL schema. | | `DB_POSTGRESDB_SSL_CA`
/`_FILE` | String | - | The PostgreSQL SSL certificate authority. | | `DB_POSTGRESDB_SSL_CERT`
/`_FILE` | String | - | The PostgreSQL SSL certificate. |