| Index: milo/appengine/buildbot/console.go
|
| diff --git a/milo/appengine/buildbot/console.go b/milo/appengine/buildbot/console.go
|
| index b77d6a4bbe3ff42fa80c29d3a17ca980e9c2112c..a6d9a0ee5006399e25edef254a57f0e6152fba98 100644
|
| --- a/milo/appengine/buildbot/console.go
|
| +++ b/milo/appengine/buildbot/console.go
|
| @@ -24,11 +24,10 @@ func getFullBuilds(c context.Context, masterName, builderName string, finished b
|
| q = q.Eq("finished", finished)
|
| q = q.Eq("master", masterName)
|
| q = q.Eq("builder", builderName)
|
| - q = q.Limit(25) // TODO(hinoka): This should be adjustable
|
| q = q.Order("-number")
|
| q.Finalize()
|
| - buildbots := make([]*buildbotBuild, 0, 25)
|
| - err := getBuildQueryBatcher(c).GetAll(c, q, &buildbots)
|
| + // Ignore the cursor, we don't need it.
|
| + buildbots, _, err := runBuildsQuery(c, q, 25)
|
| return buildbots, err
|
| }
|
|
|
|
|