From 2ccd97c3afdc26e93e9e1b9a9e58f6d074fc9a67 Mon Sep 17 00:00:00 2001 From: Alexander Strizhakov Date: Tue, 21 Apr 2020 14:32:06 +0300 Subject: adding settings to descriptions.exs --- config/description.exs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/description.exs b/config/description.exs index 1b2afebef..7fa087024 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2941,6 +2941,20 @@ config :pleroma, :config_description, [ description: "Maximum number of connections in the pool. Default: 250 connections.", suggestions: [250] }, + %{ + key: :max_idle_time, + type: :integer, + description: + "Maximum of time in minutes, while connection can be idle. Default: 5 minutes.", + suggestions: [5] + }, + %{ + key: :closing_idle_conns_interval, + type: :integer, + description: + "Interval between cleaning pool in minutes from idle connections. Default: 5 minutes.", + suggestions: [5] + }, %{ key: :retry, type: :integer, -- cgit v1.2.3