From ee68029d0e3b9c8bdf5bc7755663277e3b9fb134 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Thu, 30 Nov 2023 16:26:45 +0300 Subject: [PATCH] Set client_connection_check_interval for main Postgres DB in docker-compose setup --- CHANGELOG.md | 2 ++ docker-compose/services/docker-compose-db.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efac2523b6..d5b21eaad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ ### Chore +- [#8911](https://github.com/blockscout/blockscout/pull/8911) - Set client_connection_check_interval for main Postgres DB in docker-compose setup + ## 5.3.2-beta ### Features diff --git a/docker-compose/services/docker-compose-db.yml b/docker-compose/services/docker-compose-db.yml index 131d90bb93..b7d036e966 100644 --- a/docker-compose/services/docker-compose-db.yml +++ b/docker-compose/services/docker-compose-db.yml @@ -19,7 +19,7 @@ services: user: 2000:2000 restart: always container_name: 'db' - command: postgres -c 'max_connections=200' + command: postgres -c 'max_connections=200' -c 'client_connection_check_interval=60000' environment: POSTGRES_DB: 'blockscout' POSTGRES_USER: 'blockscout'