Allow setting maxsize for PoolManager#18
Allow setting maxsize for PoolManager#18mbohlool merged 2 commits intokubernetes-client:masterfrom yuvipanda:connpool-maxsize
Conversation
|
I'm guessing I've to manually bump the submodule ref in client-python after this gets merged? |
Codecov Report
@@ Coverage Diff @@
## master #18 +/- ##
=======================================
Coverage 94.69% 94.69%
=======================================
Files 9 9
Lines 698 698
=======================================
Hits 661 661
Misses 37 37Continue to review full report at Codecov.
|
configuration.py
Outdated
| # per pool. Increasing this is useful for cases when you are | ||
| # making a lot of possibly parallel requests to the same host, | ||
| # which is often the case here. | ||
| self.connection_pool_maxsize = 1 |
There was a problem hiding this comment.
This will change default value to 1. I don't know what default value is, but it is safer to set this to None and add an if statement in the other file to set it if not none.
There was a problem hiding this comment.
Per http://urllib3.readthedocs.io/en/latest/advanced-usage.html the default value is 1 but I agree we should use None and pass through. Shall amend.
Submodule bump for kubernetes-client/python-base#18
Fixes kubernetes-client/python#290.