summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-22 17:17:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-25 14:14:17 +0100
commit7a822506c0ae402f65c306ce10c05e195138c464 (patch)
tree06fc0d17e21220de7e533e964b61ffebd774ee40 /bitbake
parent1b00c47aca3c6602af44b18ee6e208750ef3b16b (diff)
downloadpoky-7a822506c0ae402f65c306ce10c05e195138c464.tar.gz
bitbake: 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] (Bitbake rev: 131d4b8a5834781a93ed41e2967d8dcd4d80f29a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 29f87cd2ff..3d31355fd4 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -324,7 +324,7 @@ class ServerCommunicator():
324 324
325 def runCommand(self, command): 325 def runCommand(self, command):
326 self.connection.send(command) 326 self.connection.send(command)
327 if not self.recv.poll(5): 327 if not self.recv.poll(30):
328 raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server") 328 raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server")
329 return self.recv.get() 329 return self.recv.get()
330 330