From c603849494f240870937564cc47d27ad044e2188 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 18 Sep 2023 11:36:53 +0100 Subject: [PATCH] bitbake: 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. (Bitbake rev: dd682363341bae3b060e284d73f000813964dc05) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 4089d003bb..87aa71bb65 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/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):