cmd/utils: fix default value for slow block logging

This commit is contained in:
Gary Rong 2026-01-27 13:44:44 +08:00
parent cb3122b280
commit 6f99536fcd

View file

@ -692,8 +692,8 @@ var (
}
LogSlowBlockFlag = &cli.DurationFlag{
Name: "debug.logslowblock",
Usage: "Block execution time threshold beyond which detailed statistics will be logged (0 logs all blocks)",
Value: 0,
Usage: "Block execution time threshold beyond which detailed statistics will be logged (0 logs all blocks, negative means disable)",
Value: ethconfig.Defaults.SlowBlockThreshold,
Category: flags.LoggingCategory,
}