From 83cc3132ba3b10a0df85b0bd6bef08431e8a10f8 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 15 Jan 2004 17:08:57 +0000 Subject: [PATCH] Increase timeout to 2 seconds. --- plugins/Unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Unix.py b/plugins/Unix.py index 59f34b6fa..ad5d4f36c 100644 --- a/plugins/Unix.py +++ b/plugins/Unix.py @@ -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()