Merge branch 'hackney-pool-timeout' into 'develop'

Align Hackney and Gun connection pool timeouts

See merge request pleroma/pleroma!4197
This commit is contained in:
feld 2024-07-30 15:33:17 +00:00
commit 355b028c23
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, :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