Skip to content

Commit

Permalink
cleanup aiohttp transport (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf758 authored Nov 29, 2021
1 parent e292ef4 commit 7a4ca61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ bld/
# Visual Studio 2017 auto generated files
Generated\ Files/

# Pyright
pyrightconfig.json

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand Down
2 changes: 0 additions & 2 deletions v3io/aio/dataplane/transport/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ def __init__(self, logger, endpoint=None, max_connections=None, timeout=None, ve
self._endpoint = self._get_endpoint(endpoint)
self._timeout = timeout
self.max_connections = max_connections or 8
# self._connector = None
# self._client_session = None
self._connector = aiohttp.TCPConnector()
self._client_session = aiohttp.ClientSession(connector=self._connector)
# spend ~1 min in retries before raising the exception to the user
Expand Down

0 comments on commit 7a4ca61

Please sign in to comment.