mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
chore: tune default postgres settings for 2c4g
This commit is contained in:
@@ -254,7 +254,7 @@ struct GatewayDataArgs {
|
||||
#[arg(
|
||||
long,
|
||||
env = "AETHER_GATEWAY_DATA_POSTGRES_MIN_CONNECTIONS",
|
||||
default_value_t = 1
|
||||
default_value_t = 4
|
||||
)]
|
||||
postgres_min_connections: u32,
|
||||
|
||||
@@ -1670,7 +1670,7 @@ mod tests {
|
||||
encryption_key: None,
|
||||
redis_url: None,
|
||||
redis_key_prefix: None,
|
||||
postgres_min_connections: 1,
|
||||
postgres_min_connections: 4,
|
||||
postgres_max_connections: 20,
|
||||
postgres_acquire_timeout_ms: 10_000,
|
||||
postgres_idle_timeout_ms: 30_000,
|
||||
|
||||
Reference in New Issue
Block a user