Skip to contentSkip to conversation

cooker: Drop unneeded flush calls

PATCH New Richard Purdie 1 participant 1 message Sep 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cooker: Drop unneeded flush calls

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.

---
 lib/bb/cooker.py | 3 ---
 1 file changed, 3 deletions(-)
lib/bb/cooker.py +0 -3
index 4089d003bb..87aa71bb65 100644
@@ -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):
Signature · 1 line
2.39.2