[oe-commits] [bitbake] branch master-next updated: server/process: Increase runCommand timeout

git at git.openembedded.org git at git.openembedded.org
Fri Sep 22 16:42:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new 131d4b8  server/process: Increase runCommand timeout
131d4b8 is described below

commit 131d4b8a5834781a93ed41e2967d8dcd4d80f29a
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Sep 22 17:17:59 2017 +0100

    server/process: Increase runCommand timeout
    
    We were seeing cases where we could hit the 5s timeout on large/fast machines
    running many different tasks at once. Increase this to 30s since the main
    connection timeout path should no longer hit this slow path.
    
    [YOCTO #12116]
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 29f87cd..3d31355 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -324,7 +324,7 @@ class ServerCommunicator():
 
     def runCommand(self, command):
         self.connection.send(command)
-        if not self.recv.poll(5):
+        if not self.recv.poll(30):
             raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server")
         return self.recv.get()
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list