Try even more things to address fetching narinfo slowness
This commit is contained in:
parent
610cbc2a53
commit
ae6d7621d1
2 changed files with 5 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ ORDER BY COUNT(*) DESC")
|
||||||
#:key
|
#:key
|
||||||
build-success-after
|
build-success-after
|
||||||
after-id
|
after-id
|
||||||
(limit 500))
|
(limit 200))
|
||||||
(define query
|
(define query
|
||||||
(string-append
|
(string-append
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,10 @@
|
||||||
(let loop ((last-id #f)
|
(let loop ((last-id #f)
|
||||||
(requests 0)
|
(requests 0)
|
||||||
(success-responses 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
|
(let ((outputs-chunk
|
||||||
(or specific-outputs
|
(or specific-outputs
|
||||||
(select-outputs-without-known-nar-entries
|
(select-outputs-without-known-nar-entries
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue