Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed May 25, 2019
1 parent 89a50df commit aa0fb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lavalink/client.py
Expand Up @@ -41,7 +41,7 @@ class Client:
which regions handle specific locations.
"""

def __init__(self, user_id: int, shard_count: int = 1, pool_size: int = 100,
def __init__(self, user_id: int, shard_count: int = 1,
loop=None, player=DefaultPlayer, regions: dict = None):
self._user_id = str(user_id)
self._shard_count = str(shard_count)
Expand All @@ -52,7 +52,7 @@ def __init__(self, user_id: int, shard_count: int = 1, pool_size: int = 100,
self._event_hooks = []

self._session = aiohttp.ClientSession(
connector=aiohttp.TCPConnector(limit=pool_size, loop=loop),
connector=aiohttp.TCPConnector(loop=loop),
timeout=aiohttp.ClientTimeout(total=30)
) # This session will be used for websocket and http requests.

Expand Down

0 comments on commit aa0fb6a

Please sign in to comment.