Tweak backfilling the blocked builds
This commit is contained in:
parent
8e9ab68d14
commit
7731c6f340
1 changed files with 11 additions and 11 deletions
|
|
@ -291,6 +291,7 @@ FROM latest_build_status
|
||||||
(map car (exec-query conn query '()))))
|
(map car (exec-query conn query '()))))
|
||||||
(chunk-for-each!
|
(chunk-for-each!
|
||||||
(lambda (ids)
|
(lambda (ids)
|
||||||
|
(with-time-logging "processing chunk"
|
||||||
(with-postgresql-transaction
|
(with-postgresql-transaction
|
||||||
conn
|
conn
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
|
|
@ -300,9 +301,8 @@ FROM latest_build_status
|
||||||
|
|
||||||
(handle-populating-blocked-builds-for-build-failures
|
(handle-populating-blocked-builds-for-build-failures
|
||||||
conn
|
conn
|
||||||
(map string->number ids))
|
(map string->number ids))))))
|
||||||
(simple-format #t "processed chunk...\n"))))
|
500
|
||||||
1000
|
|
||||||
build-ids)))
|
build-ids)))
|
||||||
|
|
||||||
(define* (select-blocking-builds conn revision-commit
|
(define* (select-blocking-builds conn revision-commit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue