Insert guix revision lint warnings in chunks
To avoid long running queries.
This commit is contained in:
parent
78a5abee21
commit
640386a84d
1 changed files with 7 additions and 3 deletions
|
|
@ -1528,9 +1528,13 @@ WHERE job_id = $1")
|
||||||
guix-revision-id
|
guix-revision-id
|
||||||
lint-checker-ids)
|
lint-checker-ids)
|
||||||
|
|
||||||
(insert-guix-revision-lint-warnings conn
|
(chunk-for-each!
|
||||||
guix-revision-id
|
(lambda (lint-warning-ids-chunk)
|
||||||
lint-warning-ids)))
|
(insert-guix-revision-lint-warnings conn
|
||||||
|
guix-revision-id
|
||||||
|
lint-warning-ids-chunk))
|
||||||
|
5000
|
||||||
|
lint-warning-ids)))
|
||||||
|
|
||||||
(when inferior-system-tests
|
(when inferior-system-tests
|
||||||
(insert-system-tests-for-guix-revision conn
|
(insert-system-tests-for-guix-revision conn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue