From f46c80ecfafc66efa94964b92c9c5b7cce94d6ec Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 25 Jun 2023 03:13:51 -0400 Subject: [PATCH] Fixed socket timeout --- scroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scroll.py b/scroll.py index 04002d0..6889689 100644 --- a/scroll.py +++ b/scroll.py @@ -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)