diff options
author | rinpatch <rinpatch@sdf.org> | 2020-07-06 12:13:02 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-07-15 15:26:35 +0300 |
commit | 33747e9366ef7422c9b39ac360ad1d96405bc4fd (patch) | |
tree | a851e03c540ac604f947bf41e142015f92c0577d | |
parent | a705637dcf7ffe063c9c0f3f190f57e44aaa63f2 (diff) | |
download | pleroma-33747e9366ef7422c9b39ac360ad1d96405bc4fd.tar.gz |
config.exs: set gun retries to 0
The new pooling code just removes the connection when it's down,
there is no need to reconnect a connection that is just sitting idle,
better just open a new one next time it's needed
-rw-r--r-- | config/config.exs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs index 30b5e83bd..61406687a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -652,8 +652,7 @@ config :pleroma, :connections_pool, connection_acquisition_retries: 5, max_connections: 250, max_idle_time: 30_000, - retry: 1, - retry_timeout: 1000, + retry: 0, await_up_timeout: 5_000 config :pleroma, :pools, |