Slow down automatic wake-up of Queueupdater and Downloader.
This commit is contained in:
parent
ac96eaab6d
commit
661f42516f
4
main.go
4
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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user