From 661f42516f4f0515610b12d01a70b3bd05807b40 Mon Sep 17 00:00:00 2001 From: Greg Date: Fri, 15 Mar 2019 13:51:44 -0400 Subject: [PATCH] Slow down automatic wake-up of Queueupdater and Downloader. --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6053af3..dbfb931 100644 --- a/main.go +++ b/main.go @@ -330,7 +330,7 @@ func (d *Daemon) StartDownloader() { } func (d *Daemon) QueueUpdater() { - t := time.NewTicker(30 * time.Second) + t := time.NewTicker(30 * time.Minute) defer t.Stop() for { // lock Podcast list and update download queue @@ -355,7 +355,7 @@ func (d *Daemon) QueueUpdater() { } func (q *dlQueue) Downloader() { - t := time.NewTicker(30 * time.Second) + t := time.NewTicker(30 * time.Minute) defer t.Stop() LOOP: for {