mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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):
|
||||
pass
|
||||
|
||||
def pipeReadline(fd, timeout=0.75):
|
||||
def pipeReadline(fd, timeout=2):
|
||||
(r, _, _) = select.select([fd], [], [], timeout)
|
||||
if r:
|
||||
return r[0].readline()
|
||||
|
Loading…
Reference in New Issue
Block a user