Align Hackney and Gun connection pool timeouts

This commit is contained in:
Mark Felder 2024-07-30 11:11:30 -04:00
parent 4e24445b50
commit 49f46220ff
2 changed files with 5 additions and 4 deletions

View file

@ -0,0 +1 @@
Change Hackney connection pool timeouts to align with the values Gun uses

View file

@ -858,19 +858,19 @@ config :pleroma, :pools,
config :pleroma, :hackney_pools,
federation: [
max_connections: 50,
timeout: 150_000
timeout: 10_000
],
media: [
max_connections: 50,
timeout: 150_000
timeout: 15_000
],
rich_media: [
max_connections: 50,
timeout: 150_000
timeout: 15_000
],
upload: [
max_connections: 25,
timeout: 300_000
timeout: 15_000
]
config :pleroma, :majic_pool, size: 2