mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
More easily support stopping guix-data-service-process-jobs
This commit is contained in:
parent
d62ea8857d
commit
93d8798df5
|
@ -6,6 +6,8 @@
|
|||
(define (process-jobs conn)
|
||||
(while #t
|
||||
(match (process-next-load-new-guix-revision-job conn)
|
||||
(#f (begin (simple-format #t "Waiting for new jobs...")
|
||||
(sleep 60)))
|
||||
(#f (begin
|
||||
(simple-format #t "Waiting for new jobs...")
|
||||
(unless (eq? 0 (sleep 60))
|
||||
(exit 0))))
|
||||
(_ #f))))
|
||||
|
|
Loading…
Reference in a new issue