diff mbox series

cooker: Drop unneeded flush calls

Message ID 20230918103748.678809-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit dd682363341bae3b060e284d73f000813964dc05
Headers show
Series cooker: Drop unneeded flush calls | expand

Commit Message

Richard Purdie Sept. 18, 2023, 10:37 a.m. UTC
Since the flush calls have significant effects for bitbake timeout issues,
drop the remaining ones from cooker. These aren't in as critical paths
as the other issues but it makes sense to clean up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/cooker.py | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 4089d003bb..87aa71bb65 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -172,7 +172,6 @@  class BBCooker:
             self.waitIdle = server.wait_for_idle
 
         bb.debug(1, "BBCooker starting %s" % time.time())
-        sys.stdout.flush()
 
         self.configwatched = {}
         self.parsewatched = {}
@@ -209,13 +208,11 @@  class BBCooker:
         signal.signal(signal.SIGHUP, self.sigterm_exception)
 
         bb.debug(1, "BBCooker startup complete %s" % time.time())
-        sys.stdout.flush()
 
     def init_configdata(self):
         if not hasattr(self, "data"):
             self.initConfigurationData()
             bb.debug(1, "BBCooker parsed base configuration %s" % time.time())
-            sys.stdout.flush()
             self.handlePRServ()
 
     def _baseconfig_set(self, value):