config.exs: set gun retries to 0
authorrinpatch <rinpatch@sdf.org>
Mon, 6 Jul 2020 09:13:02 +0000 (12:13 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 15 Jul 2020 12:26:35 +0000 (15:26 +0300)
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

config/config.exs

index 30b5e83bd432c585a97e0e954bce7d9f0606536d..61406687af657bb6f8c0baf3d80a9cd72b8b007b 100644 (file)
@@ -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,