diff options
author | Christopher Baines <mail@cbaines.net> | 2020-11-30 19:25:29 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-11-30 19:33:17 +0000 |
commit | f045be234cb33051c3027368fb0bde35016e472f (patch) | |
tree | e40be4e8b5500381619a3ed69ab71cfa2396c831 /guix-build-coordinator/agent.scm | |
parent | 4d13e772097d75f5d9b301de6bdd2b675d0d5503 (diff) | |
download | build-coordinator-f045be234cb33051c3027368fb0bde35016e472f.tar build-coordinator-f045be234cb33051c3027368fb0bde35016e472f.tar.gz |
Improve logging of new builds
Diffstat (limited to 'guix-build-coordinator/agent.scm')
-rw-r--r-- | guix-build-coordinator/agent.scm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index 3101622..0e2d8f3 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -61,11 +61,6 @@ systems max-count #:log (build-log-procedure lgr)))) - (log-msg lgr 'INFO - "have " current-count - " builds, max " max-count - " builds, received " - (- (length received-builds) current-count)) received-builds)) (define (process-job build) @@ -146,6 +141,15 @@ (member (assoc-ref build "uuid") build-ids)) fetched-builds))) + + (log-msg lgr 'INFO + "max " max-parallel-builds + " builds, currently allocated " + (length fetched-builds)) + (log-msg lgr 'INFO + "starting " (length new-builds) + " new " + (if (eq? (length new-builds) 1) "build" "builds")) (for-each (lambda (job-args) (process-job-with-queue job-args)) |