Fixed socket timeout

This commit is contained in:
Dionysus 2023-06-25 03:13:51 -04:00
parent 1deefcef76
commit f46c80ecfa
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class Bot():
try:
if self.reader.at_eof():
break
data = await asyncio.wait_for(self.reader.readuntil(b'\r\n'), 200)
data = await asyncio.wait_for(self.reader.readuntil(b'\r\n'), 600)
line = data.decode('utf-8').strip()
args = line.split()
debug(line)