diff --git a/docker-compose.yml b/docker-compose.yml index 922e276..407bbfb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: DB_PASSWORD: nostr_ts_relay DB_NAME: nostr_ts_relay DB_MIN_POOL_SIZE: 5 - DB_MAX_POOL_SIZE: 15 + DB_MAX_POOL_SIZE: 25 REDIS_HOST: cache REDIS_PORT: 6379 REDIS_USER: default diff --git a/postgresql.conf b/postgresql.conf index f9a849e..0882425 100644 --- a/postgresql.conf +++ b/postgresql.conf @@ -6,7 +6,7 @@ # Connections num: 60 # Data Storage: ssd -max_connections = 60 +max_connections = 100 shared_buffers = 2GB effective_cache_size = 6GB maintenance_work_mem = 512MB