polish(chainwatch): relax scheduler refresh

This commit is contained in:
frrist 2020-08-27 11:45:09 -07:00
parent 5e40dda3bc
commit fccdd70524

View File

@ -40,7 +40,7 @@ func (s *Scheduler) Start(ctx context.Context) {
go func() {
// run once on start after schema has initialized
time.Sleep(5 * time.Second)
time.Sleep(1 * time.Minute)
if err := refreshTopMinerByBaseReward(ctx, s.db); err != nil {
log.Errorw("failed to refresh top miner", "error", err)
}