mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-22 08:06:39 +00:00
Fixed socket timeout
This commit is contained in:
parent
1deefcef76
commit
f46c80ecfa
@ -177,7 +177,7 @@ class Bot():
|
|||||||
try:
|
try:
|
||||||
if self.reader.at_eof():
|
if self.reader.at_eof():
|
||||||
break
|
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()
|
line = data.decode('utf-8').strip()
|
||||||
args = line.split()
|
args = line.split()
|
||||||
debug(line)
|
debug(line)
|
||||||
|
Loading…
Reference in New Issue
Block a user