Skip to contentSkip to conversation

toaster: increase timeout

PATCH In review Ed Bartosh 2 participants 2 messages Jan 15, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 toaster: increase timeout

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 · 1 line
2.1.4
#1 lore raw
Quoted 6 lines · Ed Bartosh

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.

Submitted to bitbake-devel and toaster-next.

Elliot

Quoted 32 lines

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 -2
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
 
--

2.1.4

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

Signature · 3 lines
Elliot Smith
Software Engineer
Intel Open Source Technology Centre