mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
valmon: fix --validator-monitor-totals
feature (#3286)
Else log size explodes for machines with many validators
This commit is contained in:
parent
142e0ea163
commit
167068e739
@ -301,7 +301,7 @@ proc init*(T: type BeaconNode,
|
||||
|
||||
let
|
||||
validatorMonitor = newClone(ValidatorMonitor.init(
|
||||
config.validatorMonitorAuto))
|
||||
config.validatorMonitorAuto, config.validatorMonitorTotals))
|
||||
|
||||
for key in config.validatorMonitorPubkeys:
|
||||
validatorMonitor[].addMonitor(key, none(ValidatorIndex))
|
||||
|
Loading…
x
Reference in New Issue
Block a user