1
mirror of git://git.acid.vegas/scroll.git synced 2024-11-21 15:46:39 +00:00

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

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)