summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r--bitbake/lib/bb/server/process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index f1e8450b12..8ebf771878 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -45,10 +45,10 @@ class ServerCommunicator():
45 while True: 45 while True:
46 # don't let the user ctrl-c while we're waiting for a response 46 # don't let the user ctrl-c while we're waiting for a response
47 try: 47 try:
48 if self.connection.poll(.5): 48 if self.connection.poll(20):
49 return self.connection.recv() 49 return self.connection.recv()
50 else: 50 else:
51 return None, "Timeout while attempting to communicate with bitbake server" 51 bb.fatal("Timeout while attempting to communicate with bitbake server")
52 except KeyboardInterrupt: 52 except KeyboardInterrupt:
53 pass 53 pass
54 54