Skip to contentSkip to conversation

server/process: Increase runCommand timeout

PATCH New Richard Purdie 1 participant 1 message Sep 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/server/process.py +1 -1
index 29f87cd..3d31355 100644
@@ -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()
 
Signature · 1 line
2.7.4