[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: Limit the builds displayed on the /builds page
From: |
Christopher Baines |
Subject: |
06/10: Limit the builds displayed on the /builds page |
Date: |
Wed, 21 Oct 2020 15:50:32 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository data-service.
commit 266a2d867c2f020b5cf8fe9fb9b06d9ee5d0e141
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Oct 21 19:58:27 2020 +0100
Limit the builds displayed on the /builds page
Otherwise it can't render if there are lots of builds.
---
guix-data-service/web/build/controller.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix-data-service/web/build/controller.scm
b/guix-data-service/web/build/controller.scm
index b573a26..ba9b22f 100644
--- a/guix-data-service/web/build/controller.scm
+++ b/guix-data-service/web/build/controller.scm
@@ -93,7 +93,8 @@
(assq-ref parsed-query-parameters
'build_status)
(assq-ref parsed-query-parameters
- 'build_server))))))
+ 'build_server)
+ #:limit 50)))))
(render-html
#:sxml (view-builds parsed-query-parameters
- branch master updated (971a474 -> 63fc191), Christopher Baines, 2020/10/21
- 02/10: Cleanup scheduled and started builds with "0" timestamps, Christopher Baines, 2020/10/21
- 01/10: Fix broken links to builds, Christopher Baines, 2020/10/21
- 03/10: Add a view build link on the build page, Christopher Baines, 2020/10/21
- 04/10: Regenerate the latest_build_status table, Christopher Baines, 2020/10/21
- 05/10: Use the status for ordering, as well as timestamp, Christopher Baines, 2020/10/21
- 07/10: Fix rendering of the /builds page, Christopher Baines, 2020/10/21
- 06/10: Limit the builds displayed on the /builds page,
Christopher Baines <=
- 10/10: Sort the pending builds by timestamp, Christopher Baines, 2020/10/21
- 08/10: Increase the limit on pending builds to query, Christopher Baines, 2020/10/21
- 09/10: Update insert-new-latest-status-entries, Christopher Baines, 2020/10/21