From 2156ffa476fc4c12dcf48817f2158dd0c4f2e5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Fri, 16 Dec 2022 22:20:58 -0500 Subject: [PATCH] chore: bump connections --- docker-compose.yml | 2 +- postgresql.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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