1
mirror of git://git.acid.vegas/archive.git synced 2024-11-21 23:56:40 +00:00

Updated ping out timer

This commit is contained in:
Dionysus 2023-07-23 00:02:40 -04:00
parent b77c5aed87
commit a82838997f
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -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: