Skip to contentSkip to conversation

cooker: Log when parsing starts in server log

PATCH New Richard Purdie 1 participant 1 message Jun 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cooker: Log when parsing starts in server log

It is unclear from the server logs when parsing starts. We know that timeouts sometimes happen when parsing but it is unclear where in the code the delays are from. Adding this debug message to the server log should help narrow that down.

---
 lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/cooker.py +1 -0
index 0a21f1c2f8..11c9fa2c40 100644
@@ -1666,6 +1666,7 @@ class BBCooker:
             self.updateCacheSync()
 
         if self.state != state.parsing and not self.parsecache_valid:
+            bb.server.process.serverlog("Parsing started")
             self.setupParserWatcher()
 
             bb.parse.siggen.reset(self.data)
Signature · 1 line
2.39.2