mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +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{
|
LogSlowBlockFlag = &cli.DurationFlag{
|
||||||
Name: "debug.logslowblock",
|
Name: "debug.logslowblock",
|
||||||
Usage: "Block execution time threshold beyond which detailed statistics will be logged (0 logs all blocks)",
|
Usage: "Block execution time threshold beyond which detailed statistics will be logged (0 logs all blocks, negative means disable)",
|
||||||
Value: 0,
|
Value: ethconfig.Defaults.SlowBlockThreshold,
|
||||||
Category: flags.LoggingCategory,
|
Category: flags.LoggingCategory,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue