/// <summary> /// Called when the slow timer ticks. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void HeartbeatService_SlowTick(object sender, EventArgs args) { if (Enabled && !_DownloadQueued) { var threshold = _LastSuccessfulDownloadUtc.AddMinutes(Downloader.IntervalMinutes); if (_Clock.UtcNow >= threshold) { _DownloadQueued = true; _BackgroundWorker.StartWork(null); } } }