cbaines pushed a commit to branch master
in repository data-service.
commit 2e859ed981ef8223727c5175ae1cc00bfd973101
Author: Christopher Baines <[email protected]>
AuthorDate: Wed Oct 21 20:08:02 2020 +0100
Increase the limit on pending builds to query
As there are quite a lot of pending builds.
---
guix-data-service/builds.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix-data-service/builds.scm b/guix-data-service/builds.scm
index 7d681cc..4afd362 100644
--- a/guix-data-service/builds.scm
+++ b/guix-data-service/builds.scm
@@ -494,7 +494,7 @@ WHERE builds.build_server_id = $1 AND
'scheduled', 'started'
)
ORDER BY latest_build_status.status DESC -- 'started' first
-LIMIT 1000")
+LIMIT 10000")
(map
(match-lambda