Slow down automatic wake-up of Queueupdater and Downloader.

This commit is contained in:
Greg 2019-03-15 13:51:44 -04:00
parent ac96eaab6d
commit 661f42516f
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ func (d *Daemon) StartDownloader() {
} }
func (d *Daemon) QueueUpdater() { func (d *Daemon) QueueUpdater() {
t := time.NewTicker(30 * time.Second) t := time.NewTicker(30 * time.Minute)
defer t.Stop() defer t.Stop()
for { for {
// lock Podcast list and update download queue // lock Podcast list and update download queue
@ -355,7 +355,7 @@ func (d *Daemon) QueueUpdater() {
} }
func (q *dlQueue) Downloader() { func (q *dlQueue) Downloader() {
t := time.NewTicker(30 * time.Second) t := time.NewTicker(30 * time.Minute)
defer t.Stop() defer t.Stop()
LOOP: LOOP:
for { for {