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]

Signed-off-by: Ed Bartosh <[email protected]>
---
 bitbake/bin/toaster | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 1f98490..e5041cb 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -228,7 +228,7 @@ if [ "$1" = 'restart-bitbake' ] ; then
     sleep 1
     start_bitbake
     rc=$?
-    sleep 1
+    sleep 3
     return $rc
 fi
 
-- 
2.1.4

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to