]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: increase timeout
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 15 Jan 2016 16:35:03 +0000 (16:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Jan 2016 10:36:44 +0000 (10:36 +0000)
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 <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/toaster

index 1f9849072aae10a65809c52553415bfd9b61cb00..e5041cbb99d07702d6536e55476614af4f0bfc6c 100755 (executable)
@@ -228,7 +228,7 @@ if [ "$1" = 'restart-bitbake' ] ; then
     sleep 1
     start_bitbake
     rc=$?
-    sleep 1
+    sleep 3
     return $rc
 fi