Increase timeout to 2 seconds.

This commit is contained in:
Jeremy Fincher 2004-01-15 17:08:57 +00:00
parent 19a63ef669
commit 83cc3132ba
1 changed files with 1 additions and 1 deletions

View File

@ -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()