From ff60e2ca2a3a4cb71df44116569dd6a7468f2476 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 13 Sep 2024 18:05:19 +0200 Subject: dashboard: display up to 1000 last builds For many managers, 500 are not enough to even cover the last year. --- dashboard/app/entities_datastore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/app/entities_datastore.go b/dashboard/app/entities_datastore.go index b2dd1e748..7fc70a4ae 100644 --- a/dashboard/app/entities_datastore.go +++ b/dashboard/app/entities_datastore.go @@ -841,7 +841,7 @@ func lastManagerBuild(c context.Context, ns, manager string) (*Build, error) { } func loadBuilds(c context.Context, ns, manager string, typ BuildType) ([]*Build, error) { - const limit = 500 + const limit = 1000 var builds []*Build _, err := db.NewQuery("Build"). Filter("Namespace=", ns). -- cgit mrf-deployment