Report DB metrics #140

Merged
arijitAD merged 2 commits from report-db-metrics into v1.10.11-statediff 2021-10-26 11:24:23 +00:00
Showing only changes of commit d5f062a2ba - Show all commits

View File

@ -172,9 +172,7 @@ func New(stack *node.Node, ethServ *eth.Ethereum, cfg *ethconfig.Config, params
return err return err
} }
if metrics.Enabled { indexer.ReportDBMetrics(10*time.Second, quitCh)
indexer.ReportDBMetrics(10*time.Second, quitCh)
}
} }
workers := params.NumWorkers workers := params.NumWorkers
if workers == 0 { if workers == 0 {