mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Increase timeout to 2 seconds.
This commit is contained in:
parent
19a63ef669
commit
83cc3132ba
@ -102,7 +102,7 @@ def progstats():
|
|||||||
class TimeoutError(IOError):
|
class TimeoutError(IOError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def pipeReadline(fd, timeout=0.75):
|
def pipeReadline(fd, timeout=2):
|
||||||
(r, _, _) = select.select([fd], [], [], timeout)
|
(r, _, _) = select.select([fd], [], [], timeout)
|
||||||
if r:
|
if r:
|
||||||
return r[0].readline()
|
return r[0].readline()
|
||||||
|
Loading…
Reference in New Issue
Block a user