mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 02:37:48 +08:00
A little less repr in the scheduler logs.
For the base-runtime module, the current repr here generates pages and pages of spam in the logs. The change here should greatly reduce that spam, and produce something that's much more interesting and readable.
This commit is contained in:
@@ -231,8 +231,10 @@ class Poller(threading.Thread):
|
||||
if name == 'build':
|
||||
for module_build in query.all():
|
||||
log.info(" * %r" % module_build)
|
||||
for component_build in module_build.component_builds:
|
||||
log.info(" * %r" % component_build)
|
||||
for i in range(module_build.batch):
|
||||
n = len([c for c in module_build.component_builds
|
||||
if c.batch == i ])
|
||||
log.info(" * %i components in batch %i" % (n, i))
|
||||
|
||||
def process_waiting_module_builds(self, session):
|
||||
log.info("Looking for module builds stuck in the wait state.")
|
||||
|
||||
Reference in New Issue
Block a user