executor.py
29.4 KB
-
fix: match requests pool_maxsize to num workers (#6805) · 4896c4bd
This avoids trashing connections just to immediately re-create them when `num-worker` > 10. This should provide a pretty solid speedup on beefy machines. I'm not attaching any tests because this would be hard to test and if it doesn't crash with an unknown keyword argument or something it means it's probably going to be doing what we expect.
Adrian Garcia Badaracco committed