Increase the batch size for fetching builds/narinfo files
To increase the likelyhood that all the builds and narinfo files for the latest revisions are fetched.
This commit is contained in:
parent
6e81acf0a5
commit
33958eac79
2 changed files with 3 additions and 3 deletions
|
|
@ -522,7 +522,7 @@ WHERE derivation_output_details_set_id NOT IN (
|
|||
"
|
||||
)
|
||||
ORDER BY derivation_output_details_set_id, derivations.id
|
||||
LIMIT 15000"))
|
||||
LIMIT 30000"))
|
||||
|
||||
(exec-query conn query (list (number->string build-server-id))))
|
||||
|
||||
|
|
@ -606,7 +606,7 @@ WHERE NOT EXISTS (
|
|||
"
|
||||
)
|
||||
ORDER BY derivation_output_details_sets.id DESC, derivation_output_details.id
|
||||
LIMIT 15000"))
|
||||
LIMIT 30000"))
|
||||
|
||||
(fold (lambda (row result)
|
||||
(match row
|
||||
|
|
|
|||
|
|
@ -347,7 +347,7 @@ WHERE derivation_output_details.path NOT IN (
|
|||
)"))
|
||||
"
|
||||
ORDER BY derivation_output_details.id DESC
|
||||
LIMIT 10000"))
|
||||
LIMIT 100000"))
|
||||
|
||||
(map car (exec-query conn query (list (number->string build-server-id)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue