Further reduce some chunk sizes

This commit is contained in:
Christopher Baines 2022-09-15 16:25:31 +02:00
parent 37e8af60fb
commit 8ef896b103
2 changed files with 3 additions and 3 deletions

View file

@ -1423,7 +1423,7 @@ INNER JOIN derivation_outputs
AND vals.output_name = derivation_outputs.name")))))
(chunk-for-each! process-chunk
250
200
(list-copy derivation-ids)
(list-copy derivations)))
@ -1773,7 +1773,7 @@ WHERE " criteria ";"))
file-name
(string->number id))))
(exec-query conn (select-existing-derivations chunk))))
(chunk! missing-file-names 2000)))))
(chunk! missing-file-names 1000)))))
(define (derivation-file-names->derivation-ids conn derivation-file-names)
(define (insert-source-files-missing-nars derivation-ids)