Address comments

This commit is contained in:
Arijit Das 2021-10-22 19:17:46 +05:30
parent 409a6e5a76
commit d5f062a2ba

View File

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