@@ -16,8 +16,8 @@ The following environment variables can be set:
1616| DB_USER | PostgreSQL Username | nostr_ts_relay |
1717| DB_PASSWORD | PostgreSQL Password | nostr_ts_relay |
1818| DB_NAME | PostgreSQL Database name | nostr_ts_relay |
19- | DB_MIN_POOL_SIZE | Min. connections per worker | 16 |
20- | DB_MAX_POOL_SIZE | Max. connections per worker | 32 |
19+ | DB_MIN_POOL_SIZE | Min. connections per worker | 0 |
20+ | DB_MAX_POOL_SIZE | Max. connections per worker | 3 |
2121| DB_ACQUIRE_CONNECTION_TIMEOUT | New connection timeout (ms) | 60000 |
2222| READ_REPLICA_ENABLED | Read Replica (RR) Toggle | 'false' |
2323| READ_REPLICAS | Number of read replicas (RR0, RR1, ..., RRn) | 2 |
@@ -26,24 +26,24 @@ The following environment variables can be set:
2626| RR0_DB_USER | PostgreSQL Username (RR) | nostr_ts_relay |
2727| RR0_DB_PASSWORD | PostgreSQL Password (RR) | nostr_ts_relay |
2828| RR0_DB_NAME | PostgreSQL Database name (RR) | nostr_ts_relay |
29- | RR0_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 16 |
30- | RR0_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 32 |
29+ | RR0_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 0 |
30+ | RR0_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 3 |
3131| RR0_DB_ACQUIRE_CONNECTION_TIMEOUT| New connection timeout (ms) (RR) | 60000 |
3232| RR1_DB_HOST | PostgresSQL Hostname (RR) | |
3333| RR1_DB_PORT | PostgreSQL Port (RR) | 5432 |
3434| RR1_DB_USER | PostgreSQL Username (RR) | nostr_ts_relay |
3535| RR1_DB_PASSWORD | PostgreSQL Password (RR) | nostr_ts_relay |
3636| RR1_DB_NAME | PostgreSQL Database name (RR) | nostr_ts_relay |
37- | RR1_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 16 |
38- | RR1_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 32 |
37+ | RR1_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 0 |
38+ | RR1_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 3 |
3939| RR1_DB_ACQUIRE_CONNECTION_TIMEOUT| New connection timeout (ms) (RR) | 60000 |
4040| RRn_DB_HOST | PostgresSQL Hostname (RR) | |
4141| RRn_DB_PORT | PostgreSQL Port (RR) | 5432 |
4242| RRn_DB_USER | PostgreSQL Username (RR) | nostr_ts_relay |
4343| RRn_DB_PASSWORD | PostgreSQL Password (RR) | nostr_ts_relay |
4444| RRn_DB_NAME | PostgreSQL Database name (RR) | nostr_ts_relay |
45- | RRn_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 16 |
46- | RRn_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 32 |
45+ | RRn_DB_MIN_POOL_SIZE | Min. connections per worker (RR) | 0 |
46+ | RRn_DB_MAX_POOL_SIZE | Max. connections per worker (RR) | 3 |
4747| RRn_DB_ACQUIRE_CONNECTION_TIMEOUT| New connection timeout (ms) (RR) | 60000 |
4848| TOR_HOST | Tor Hostname | |
4949| TOR_CONTROL_PORT | Tor control Port | 9051 |
0 commit comments