Set an order for select-outputs-without-known-nar-entries
Pulling out the recent entries first.
This commit is contained in:
parent
baeae56de4
commit
6e81acf0a5
1 changed files with 2 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ ORDER BY COUNT(*) DESC")
|
|||
(define query
|
||||
(string-append
|
||||
"
|
||||
SELECT DISTINCT derivation_output_details.path
|
||||
SELECT DISTINCT derivation_output_details.path, derivation_output_details.id
|
||||
FROM derivations
|
||||
INNER JOIN derivation_outputs
|
||||
ON derivations.id = derivation_outputs.derivation_id
|
||||
|
|
@ -346,6 +346,7 @@ WHERE derivation_output_details.path NOT IN (
|
|||
")
|
||||
)"))
|
||||
"
|
||||
ORDER BY derivation_output_details.id DESC
|
||||
LIMIT 10000"))
|
||||
|
||||
(map car (exec-query conn query (list (number->string build-server-id)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue