Commit 1aa0bd54 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

astakosclient: For objpool pool_size is now size

parent 8e4d47a2
......@@ -61,7 +61,7 @@ def scheme_to_class(scheme, use_pool, pool_size):
"""Return the appropriate conn class for given scheme"""
def _objpool(netloc):
return PooledHTTPConnection(
netloc=netloc, scheme=scheme, pool_size=pool_size)
netloc=netloc, scheme=scheme, size=pool_size)
def _http_connection(netloc):
return closing(HTTPConnection(netloc))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment