Skip to content

Commit 47f63bf

Browse files
author
Dan Laine
authored
Reduce default maximum healthy processing time (ava-labs#2784)
1 parent 2633ab0 commit 47f63bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func addNodeFlags(fs *flag.FlagSet) {
293293
fs.Int(SnowConcurrentRepollsKey, 4, "Minimum number of concurrent polls for finalizing consensus")
294294
fs.Int(SnowOptimalProcessingKey, 10, "Optimal number of processing containers in consensus")
295295
fs.Int(SnowMaxProcessingKey, 1024, "Maximum number of processing items to be considered healthy")
296-
fs.Duration(SnowMaxTimeProcessingKey, 2*time.Minute, "Maximum amount of time an item should be processing and still be healthy")
296+
fs.Duration(SnowMaxTimeProcessingKey, 30*time.Second, "Maximum amount of time an item should be processing and still be healthy")
297297
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))
298298
fs.Uint(SnowMixedQueryNumPushNonVdrKey, 0, fmt.Sprintf("If this node is not 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.", SnowMixedQueryNumPushNonVdrKey))
299299

0 commit comments

Comments
 (0)