Skip to content

Commit

Permalink
Reduce optimal consensus processing limit to 10 (ava-labs#2777)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Mar 23, 2023
1 parent b7bddb6 commit ca6a477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func addNodeFlags(fs *flag.FlagSet) {
fs.Int(SnowAvalancheNumParentsKey, 5, "Number of vertexes for reference from each new vertex")
fs.Int(SnowAvalancheBatchSizeKey, 30, "Number of operations to batch in each new vertex")
fs.Int(SnowConcurrentRepollsKey, 4, "Minimum number of concurrent polls for finalizing consensus")
fs.Int(SnowOptimalProcessingKey, 50, "Optimal number of processing containers in consensus")
fs.Int(SnowOptimalProcessingKey, 10, "Optimal number of processing containers in consensus")
fs.Int(SnowMaxProcessingKey, 1024, "Maximum number of processing items to be considered healthy")
fs.Duration(SnowMaxTimeProcessingKey, 2*time.Minute, "Maximum amount of time an item should be processing and still be healthy")
fs.Uint(SnowMixedQueryNumPushVdrKey, 10, fmt.Sprintf("If this node is a validator, when a container is inserted into consensus, send a Push Query to %s validators and a Pull Query to the others. Must be <= k.", SnowMixedQueryNumPushVdrKey))
Expand Down

0 comments on commit ca6a477

Please sign in to comment.