diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-08-19 10:22:59 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-02 09:04:23 +0300 |
commit | c17d83cd7330d5c874f647a5224a3a130ed88fb0 (patch) | |
tree | 663ed868abe80dfa1567e3070fbffca14dcadd7d /config | |
parent | d48755791ddfea0b30bc5a843dfc4181efd63982 (diff) | |
download | pleroma-c17d83cd7330d5c874f647a5224a3a130ed88fb0.tar.gz |
improvements and fixes for http requests
- fix for gun worker termination in some circumstances
- pool for http clients (ex_aws, tzdata)
- default pool timeouts for gun
- gun retries on gun_down messages
- s3 upload timeout if streaming enabled
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/config/config.exs b/config/config.exs index 246712b9f..ea8869d48 100644 --- a/config/config.exs +++ b/config/config.exs @@ -740,19 +740,23 @@ config :pleroma, :connections_pool, config :pleroma, :pools, federation: [ size: 50, - max_waiting: 10 + max_waiting: 10, + timeout: 10_000 ], media: [ size: 50, - max_waiting: 10 + max_waiting: 10, + timeout: 10_000 ], upload: [ size: 25, - max_waiting: 5 + max_waiting: 5, + timeout: 15_000 ], default: [ size: 10, - max_waiting: 2 + max_waiting: 2, + timeout: 5_000 ] config :pleroma, :hackney_pools, |