mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Align Hackney and Gun connection pool timeouts
This commit is contained in:
parent
4e24445b50
commit
49f46220ff
2 changed files with 5 additions and 4 deletions
1
changelog.d/hackney-pool-timeouts.change
Normal file
1
changelog.d/hackney-pool-timeouts.change
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Change Hackney connection pool timeouts to align with the values Gun uses
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue