improvements and fixes for http requests
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 19 Aug 2020 07:22:59 +0000 (10:22 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 2 Sep 2020 06:04:23 +0000 (09:04 +0300)
commitc17d83cd7330d5c874f647a5224a3a130ed88fb0
tree663ed868abe80dfa1567e3070fbffca14dcadd7d
parentd48755791ddfea0b30bc5a843dfc4181efd63982
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
config/config.exs
lib/pleroma/gun/connection_pool/worker.ex
lib/pleroma/http/adapter_helper.ex
lib/pleroma/http/adapter_helper/gun.ex
lib/pleroma/http/ex_aws.ex
lib/pleroma/http/tzdata.ex
lib/pleroma/uploaders/s3.ex