File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 4
4
//! - `READ_ONLY_REPLICA_URL`: The URL of an optional postgres read-only replica database.
5
5
//! - `DB_PRIMARY_POOL_SIZE`: The number of connections of the primary database.
6
6
//! - `DB_REPLICA_POOL_SIZE`: The number of connections of the read-only / replica database.
7
+ //! - `DB_PRIMARY_MIN_IDLE`: The primary pool will maintain at least this number of connections.
8
+ //! - `DB_REPLICA_MIN_IDLE`: The replica pool will maintain at least this number of connections.
7
9
//! - `DB_OFFLINE`: If set to `leader` then use the read-only follower as if it was the leader.
8
10
//! If set to `follower` then act as if `READ_ONLY_REPLICA_URL` was unset.
9
11
//! - `READ_ONLY_MODE`: If defined (even as empty) then force all connections to be read-only.
You can’t perform that action at this time.
0 commit comments