Patchwork [bitbake-devel] server/process: Drop unnecessary exit delay

login
register
mail settings
Submitter Richard Purdie
Date March 10, 2014, 12:58 a.m.
Message ID <1394413116.7883.20.camel@ted>
Download mbox | patch
Permalink /patch/68349/
State New
Headers show

Comments

Richard Purdie - March 10, 2014, 12:58 a.m.
When the server exits, we no longer appear to need this delay. This
is likely due to improvements in the various exit codepaths. There
is therefore no longer any point in taking the latency hit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 386294f..07688a2 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -119,7 +119,6 @@  class ProcessServer(Process, BaseImplServer):
         bb.event.unregister_UIHhandler(self.event_handle.value)
         self.command_channel.close()
         self.cooker.shutdown(True)
-        self.idle_commands(.1)
 
     def idle_commands(self, delay, fds = []):
         nextsleep = delay