Skip to content

Commit

Permalink
polish(chainwatch): relax scheduler refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist committed Aug 27, 2020
1 parent 87af0fc commit b9115b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-chainwatch/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b9115b7

Please sign in to comment.