From 5fb8c76a17bf512195011ea3a9035a2095738c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Tue, 17 Jan 2023 19:08:29 -0500 Subject: [PATCH] docs: add DB_ACQUIRE_CONNECTION_TIMEOUT info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo Arturo Cabral Mejía --- CONFIGURATION.md | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 9be57f5..7c3980f 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -6,25 +6,26 @@ The following environment variables can be set: | Name | Description | Default | |-----------------------|--------------------------------|------------------------| -| RELAY_PORT | Relay's server port | 8008 | -| WORKER_COUNT | Number of workers override | No. of available CPUs | -| DB_HOST | PostgresSQL Hostname | | -| DB_PORT | PostgreSQL Port | 5432 | -| DB_USER | PostgreSQL Username | nostr_ts_relay | -| DB_PASSWORD | PostgreSQL Password | nostr_ts_relay | -| DB_NAME | PostgreSQL Database name | nostr_ts_relay | -| DB_MIN_POOL_SIZE | Min. connections per worker | 16 | -| DB_MAX_POOL_SIZE | Max. connections per worker | 32 | -| TOR_HOST | Tor Hostname | | -| TOR_CONTROL_PORT | Tor control Port | 9051 | -| TOR_PASSWORD | Tor control password | nostr_ts_relay | -| HIDDEN_SERVICE_PORT | Tor hidden service port | 80 | -| REDIS_HOST | | | -| REDIS_PORT | Redis Port | 6379 | -| REDIS_USER | Redis User | default | -| REDIS_PASSWORD | Redis Password | nostr_ts_relay | -| NOSTR_CONFIG_DIR | Configuration directory | /.nostr/ | -| DEBUG | Debugging filter | | +| RELAY_PORT | Relay's server port | 8008 | +| WORKER_COUNT | Number of workers override | No. of available CPUs | +| DB_HOST | PostgresSQL Hostname | | +| DB_PORT | PostgreSQL Port | 5432 | +| DB_USER | PostgreSQL Username | nostr_ts_relay | +| DB_PASSWORD | PostgreSQL Password | nostr_ts_relay | +| DB_NAME | PostgreSQL Database name | nostr_ts_relay | +| DB_MIN_POOL_SIZE | Min. connections per worker | 16 | +| DB_MAX_POOL_SIZE | Max. connections per worker | 32 | +| DB_ACQUIRE_CONNECTION_TIMEOUT | New connection timeout (ms) | 60000 | +| TOR_HOST | Tor Hostname | | +| TOR_CONTROL_PORT | Tor control Port | 9051 | +| TOR_PASSWORD | Tor control password | nostr_ts_relay | +| HIDDEN_SERVICE_PORT | Tor hidden service port | 80 | +| REDIS_HOST | | | +| REDIS_PORT | Redis Port | 6379 | +| REDIS_USER | Redis User | default | +| REDIS_PASSWORD | Redis Password | nostr_ts_relay | +| NOSTR_CONFIG_DIR | Configuration directory | /.nostr/ | +| DEBUG | Debugging filter | | # Settings