Skip to content

Commit

Permalink
tweak max bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Feb 4, 2025
1 parent af9859a commit ac54661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/gcp/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ func (d *Dedup) populate(ctx context.Context, bh BundleHasherFunc, lsr tessera.L
workToDo = true

// TODO(al): make this configuable.
const maxBundles = 2
const maxBundles = 10

TfetchLeaves := time.Now()
lh, err := fetchLeafHashes(ctx, fromIdx, toSize, toSize, maxBundles, lsr.ReadEntryBundle, bh)
Expand Down

0 comments on commit ac54661

Please sign in to comment.