Address comments

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

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 {