Try even more things to address fetching narinfo slowness

This commit is contained in:
Christopher Baines 2025-06-29 16:50:30 +02:00
parent 610cbc2a53
commit ae6d7621d1
2 changed files with 5 additions and 1 deletions

View file

@ -386,7 +386,7 @@ ORDER BY COUNT(*) DESC")
#:key
build-success-after
after-id
(limit 500))
(limit 200))
(define query
(string-append
"

View file

@ -81,6 +81,10 @@
(let loop ((last-id #f)
(requests 0)
(success-responses 0))
;; I think something here is causing lots of garbage or garbage collection
;; to be slow, so try and take breaks
(unless specific-outputs
(sleep 10))
(let ((outputs-chunk
(or specific-outputs
(select-outputs-without-known-nar-entries