archive

- Random tools & helpful resources for IRC
git clone git://git.acid.vegas/archive.git
Log | Files | Refs | Archive

commit a82838997f172909ffc98ab3cc7f0e74b2297f21
parent b77c5aed879a42acf09f7dab9467269ad65e90c1
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 23 Jul 2023 00:02:40 -0400

Updated ping out timer

Diffstat:
Mbots/tailbot.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bots/tailbot.py b/bots/tailbot.py
@@ -89,7 +89,7 @@ class Bot():
 					'family'     : 10 if connection.ipv6 else 2,
 					'local_addr' : connection.vhost
 				}
-				self.reader, self.writer = await asyncio.wait_for(asyncio.open_connection(**options), 15)
+				self.reader, self.writer = await asyncio.wait_for(asyncio.open_connection(**options), 300)
 				await self.raw(f'USER {identity.username} 0 * :{identity.realname}')
 				await self.raw('NICK ' + identity.nickname)
 			except Exception as ex: