aboutsummaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-09-03 23:15:22 +0300
committerrinpatch <rinpatch@sdf.org>2020-09-03 23:44:13 +0300
commitd34fe2840d969c30b393cfb73e34b6301027c776 (patch)
tree980680cc52487cb63d1c406879b3d9094e140489 /rel
parent9433311923d4b41b057ce6cb1632ff27d46919b4 (diff)
downloadpleroma-d34fe2840d969c30b393cfb73e34b6301027c776.tar.gz
HTTP: radically simplify pool checkin/checkout
Use a custom tesla middleware instead of adapter helper function + custom redirect middleware. This will also fix "Client died before releasing the connection" messages when the request pool is overloaded. Since the checkout is now done after passing ConcurrentLimiter. This is technically less efficient, since the connection needs to be checked in/out every time the middleware is left or entered respectively. But I don't think the nanoseconds we might lose on redirects to the same host are worth the complexity.
Diffstat (limited to 'rel')
0 files changed, 0 insertions, 0 deletions