Skip to content

Commit

Permalink
Increase threshold of large account in diff-states
Browse files Browse the repository at this point in the history
This commit increases the minimum payload count threshold for
large accounts to use extra goroutines.  So only the largest
accounts that would benefit most from extra goroutines use them.

The minimum payload count was 50,000 and was increased to 1 million.
  • Loading branch information
fxamacker committed Jun 17, 2024
1 parent 9b4eef4 commit a7a3c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/util/ledger/migrations/cadence_value_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type difference struct {
NewValueStaticType string `json:",omitempty"`
}

const minLargeAccountRegisterCount = 50_000
const minLargeAccountRegisterCount = 1_000_000

type CadenceValueDiffReporter struct {
address common.Address
Expand Down

0 comments on commit a7a3c4b

Please sign in to comment.