diff --git a/scheduler.go b/scheduler.go index 24670ff..a486015 100644 --- a/scheduler.go +++ b/scheduler.go @@ -100,6 +100,7 @@ func RunScheduler() { now := time.Now().Truncate(1 * time.Minute) go sched.tickNewQuestions(now) go sched.tickPeriodicCheck(now) + go sched.tickPing(now) time.Sleep(1 * time.Minute) } }