projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a705637
)
config.exs: set gun retries to 0
author
rinpatch
<rinpatch@sdf.org>
Mon, 6 Jul 2020 09:13:02 +0000
(12:13 +0300)
committer
rinpatch
<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
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index 30b5e83bd432c585a97e0e954bce7d9f0606536d..61406687af657bb6f8c0baf3d80a9cd72b8b007b 100644
(file)
--- 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,