Skip to content

Commit

Permalink
Undo change in async for backwards compatibility.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Oct 12, 2023
1 parent 35a8443 commit e6f38ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions opensearchpy/_async/http_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(
client_key=None,
ssl_version=None,
ssl_assert_fingerprint=None,
pool_maxsize=None,
maxsize=10,
headers=None,
ssl_context=None,
http_compress=None,
Expand Down Expand Up @@ -217,7 +217,7 @@ def __init__(
self.session = None

# Parameters for creating an aiohttp.ClientSession later.
self._limit = pool_maxsize
self._limit = maxsize
self._http_auth = http_auth
self._ssl_context = ssl_context
self._trust_env = trust_env
Expand Down
4 changes: 2 additions & 2 deletions opensearchpy/connection/http_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
client_key=None,
ssl_version=None,
ssl_assert_fingerprint=None,
pool_maxsize=None,
maxsize=10,
headers=None,
ssl_context=None,
http_compress=None,
Expand Down Expand Up @@ -140,7 +140,7 @@ def __init__(
self.session = None

# Parameters for creating an aiohttp.ClientSession later.
self._limit = pool_maxsize
self._limit = maxsize
self._http_auth = http_auth
self._ssl_context = ssl_context

Expand Down

0 comments on commit e6f38ba

Please sign in to comment.