[bitbake-devel] [PATCH 1/4] process.py: Set socket timeout to 10 seconds

Richard Purdie richard.purdie at linuxfoundation.org
Tue Dec 25 11:55:30 UTC 2018


The current value of 2 seconds has shown to be short in
wider testing.

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 f7d07266cf..f1fbe3313c 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -474,7 +474,7 @@ def connectProcessServer(sockname, featureset):
     readfd = writefd = readfd1 = writefd1 = readfd2 = writefd2 = None
     eq = command_chan_recv = command_chan = None
 
-    sock.settimeout(2)
+    sock.settimeout(10)
 
     try:
         try:
-- 
2.19.1



More information about the bitbake-devel mailing list