mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
cmd/utils: fix default value for slow block logging
This commit is contained in:
parent
cb3122b280
commit
6f99536fcd
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue