From c3d69041d4e8bbcdb180a2b449be69cfed82a8b4 Mon Sep 17 00:00:00 2001 From: Alexander Strizhakov Date: Tue, 21 Apr 2020 14:31:46 +0300 Subject: [PATCH] changing defaults for closing idle connections --- config/config.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index f34a2d91c..a78a3e108 100644 --- a/config/config.exs +++ b/config/config.exs @@ -608,8 +608,8 @@ config :pleroma, Pleroma.Repo, config :pleroma, :connections_pool, checkin_timeout: 250, max_connections: 250, - max_idle_time: 10, - closing_idle_conns_interval: 10, + max_idle_time: 5, + closing_idle_conns_interval: 5, retry: 1, retry_timeout: 1000, await_up_timeout: 5_000