Why did i do this
This commit is contained in:
parent
3ab4a24a14
commit
ec5c4c6192
|
@ -58,7 +58,7 @@ class WorkerManager:
|
||||||
async def writer(self, bot_index: int, proxy: Optional[str] = None):
|
async def writer(self, bot_index: int, proxy: Optional[str] = None):
|
||||||
connector = ProxyConnector.from_url(proxy) if proxy else None
|
connector = ProxyConnector.from_url(proxy) if proxy else None
|
||||||
async with aiohttp.ClientSession(connector=connector) as http:
|
async with aiohttp.ClientSession(connector=connector) as http:
|
||||||
sio = socketio.AsyncClient(http_session=http, reconnection=False)
|
sio = socketio.AsyncClient(http_session=http)
|
||||||
self._restarts[bot_index] = 0
|
self._restarts[bot_index] = 0
|
||||||
|
|
||||||
async def writer_itself():
|
async def writer_itself():
|
||||||
|
|
Loading…
Reference in New Issue