From fccdd70524635e5ae0df9836a33de2135907fbe8 Mon Sep 17 00:00:00 2001 From: frrist Date: Thu, 27 Aug 2020 11:45:09 -0700 Subject: [PATCH] polish(chainwatch): relax scheduler refresh --- cmd/lotus-chainwatch/scheduler/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-chainwatch/scheduler/scheduler.go b/cmd/lotus-chainwatch/scheduler/scheduler.go index 936b61ce7..6782bc16d 100644 --- a/cmd/lotus-chainwatch/scheduler/scheduler.go +++ b/cmd/lotus-chainwatch/scheduler/scheduler.go @@ -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) }