This PR deprecates the persistent HTTP connection and removes the caching of the HTTP client used by Fulfil. When using the fulfil gem in background jobs, the caching and the persistent HTTP connection might cause unexpected connection closures.
Setting up new HTTP clients for every request is cheap and thus there is no need for caching it.
This PR deprecates the persistent HTTP connection and removes the caching of the HTTP client used by Fulfil. When using the
fulfil
gem in background jobs, the caching and the persistent HTTP connection might cause unexpected connection closures.Setting up new HTTP clients for every request is cheap and thus there is no need for caching it.