From ec5c4c61921bedd6b660cd2d36275eb16845d12f Mon Sep 17 00:00:00 2001 From: hkc Date: Tue, 9 Jul 2024 21:47:57 +0300 Subject: [PATCH] Why did i do this --- swarm/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/worker.py b/swarm/worker.py index 08b99bb..55e51b6 100644 --- a/swarm/worker.py +++ b/swarm/worker.py @@ -58,7 +58,7 @@ class WorkerManager: async def writer(self, bot_index: int, proxy: Optional[str] = None): connector = ProxyConnector.from_url(proxy) if proxy else None 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 async def writer_itself():