From: rinpatch <rinpatch@sdf.org>
Date: Mon, 6 Jul 2020 09:13:02 +0000 (+0300)
Subject: config.exs: set gun retries to 0
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=33747e9366ef7422c9b39ac360ad1d96405bc4fd;p=akkoma

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
---

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,