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, :pools,
config :pleroma, :hackney_pools, config :pleroma, :hackney_pools,
federation: [ federation: [
max_connections: 50, max_connections: 50,
timeout: 150_000 timeout: 10_000
], ],
media: [ media: [
max_connections: 50, max_connections: 50,
timeout: 150_000 timeout: 15_000
], ],
rich_media: [ rich_media: [
max_connections: 50, max_connections: 50,
timeout: 150_000 timeout: 15_000
], ],
upload: [ upload: [
max_connections: 25, max_connections: 25,
timeout: 300_000 timeout: 15_000
] ]
config :pleroma, :majic_pool, size: 2 config :pleroma, :majic_pool, size: 2