From 543ac747f0dae766fdc004bfcffc5f2fb90f8b2d Mon Sep 17 00:00:00 2001 From: spencer-tb Date: Thu, 4 Apr 2024 20:30:39 +0800 Subject: [PATCH] cmd/hiveview: Update max entries on hiveview. --- cmd/hiveview/listing.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/hiveview/listing.go b/cmd/hiveview/listing.go index b044f0bca6..f1dc5786e0 100644 --- a/cmd/hiveview/listing.go +++ b/cmd/hiveview/listing.go @@ -14,7 +14,7 @@ import ( "github.com/ethereum/hive/internal/libhive" ) -const listLimit = 200 // number of runs reported +const listLimit = 10000 // number of runs reported // generateListing processes hive simulation output files and generates a listing file. func generateListing(fsys fs.FS, dir string, output io.Writer) error { @@ -22,8 +22,8 @@ func generateListing(fsys fs.FS, dir string, output io.Writer) error { stop = errors.New("stop") entries []listingEntry ) - // The files are walked in name order high->low. So to get the latest 200 items, we - // just need to keep going until we have 200. + // The files are walked in name order high->low. So to get the latest 10000 items, we + // just need to keep going until we have 10000. err := walkSummaryFiles(fsys, dir, func(suite *libhive.TestSuite, fi fs.FileInfo) error { entry := suiteToEntry(suite, fi) entries = append(entries, entry)