Skip to contentSkip to conversation

toaster: increase timeout

PATCH New Elliot Smith 1 participant 1 message Jan 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: increase timeout

From: Ed Bartosh <[email protected]>

Sometimes Toaster connection to the bitbake server fails with this error in the log:
ERROR: Could not connect to server 0.0.0.0:46572 : Could not register UI event handler
It happens more often on slow machines.

Increasing timeout after restarting bitbake should fix this issue.

[YOCTO #8776]

---
 bitbake/bin/toaster | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/toaster +1 -1
index 1f98490..e5041cb 100755
@@ -228,7 +228,7 @@ if [ "$1" = 'restart-bitbake' ] ; then
     sleep 1
     start_bitbake
     rc=$?
-    sleep 1
+    sleep 3
     return $rc
 fi
 
Signature · 12 lines
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.