From patchwork Wed Mar 21 12:55:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel, 07/17] process.py: Increase the timeout value for polling commands Date: Wed, 21 Mar 2012 12:55:11 -0000 From: Dongxiao Xu X-Patchwork-Id: 23999 Message-Id: To: bitbake-devel@lists.openembedded.org The parseConfigurationFiles commands needs more time for piping, thus change the polling timeout value from 0.5s to 1s. Signed-off-by: Dongxiao Xu --- lib/bb/server/process.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index ba91336..946af05 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -45,7 +45,7 @@ class ServerCommunicator(): while True: # don't let the user ctrl-c while we're waiting for a response try: - if self.connection.poll(.5): + if self.connection.poll(1): return self.connection.recv() else: return None