diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-09-13 18:05:19 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-09-13 17:09:16 +0000 |
| commit | ff60e2ca2a3a4cb71df44116569dd6a7468f2476 (patch) | |
| tree | 2883f0a44a0dd2a41242a0ff33bd8c5eb7d50492 | |
| parent | 158f48512715e72d88edf0fd6195db818140fe9f (diff) | |
dashboard: display up to 1000 last builds
For many managers, 500 are not enough to even cover the last year.
| -rw-r--r-- | dashboard/app/entities_datastore.go | 2 |
1 files changed, 1 insertions, 1 deletions
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). |
