diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-22 17:17:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-22 17:21:40 +0100 |
commit | 131d4b8a5834781a93ed41e2967d8dcd4d80f29a (patch) | |
tree | 761a697fd1da7edbea64a532b509de3872fcf951 /lib | |
parent | 9c0f6e81dae0b91b425e6c0cdf64caa5c15d92b5 (diff) | |
download | bitbake-131d4b8a5834781a93ed41e2967d8dcd4d80f29a.tar.gz |
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@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | 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 29f87cd2f..3d31355fd 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() |