From 9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 10 Oct 2016 19:01:34 +0200 Subject: reproducible Debian: add some timestamps to debug bottleneck --- bin/reproducible_scheduler.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/reproducible_scheduler.py') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 7eeaf2e8..cbe24620 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -673,6 +673,7 @@ if __name__ == '__main__': log.info('Updating sources tables for all suites.') for suite in SUITES: update_sources(suite) + log.info('Sources for suite %s done at %s.', suite, datetime.now()) purge_old_pages() query = 'SELECT count(*) ' + \ 'FROM schedule AS p JOIN sources AS s ON s.id=p.package_id ' + \ @@ -687,6 +688,7 @@ if __name__ == '__main__': log.info('%s packages already scheduled for %s, probably scheduling some ' 'more...', overall, arch) message += scheduler(arch) + log.info('Arch %s scheduled at %s.', arch, datetime.now()) if message != '': # build the kgb message text message = 'Scheduled in ' + '+'.join(SUITES) + ':' + message -- cgit v1.2.3-54-g00ecf