Log the time loading new revisions takes
This commit is contained in:
parent
548e628398
commit
398b8aab05
1 changed files with 4 additions and 1 deletions
|
|
@ -551,7 +551,10 @@ ORDER BY load_new_guix_revision_jobs.id DESC")
|
||||||
id commit source)
|
id commit source)
|
||||||
(exec-query conn "BEGIN")
|
(exec-query conn "BEGIN")
|
||||||
(if (or (guix-revision-exists? conn git-repository-id commit)
|
(if (or (guix-revision-exists? conn git-repository-id commit)
|
||||||
(eq? (load-new-guix-revision conn git-repository-id commit)
|
(eq? (log-time
|
||||||
|
(string-append "loading revision " commit)
|
||||||
|
(lambda ()
|
||||||
|
(load-new-guix-revision conn git-repository-id commit)))
|
||||||
#t))
|
#t))
|
||||||
(begin
|
(begin
|
||||||
(record-job-succeeded conn id)
|
(record-job-succeeded conn id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue