Slow down automatic wake-up of Queueupdater and Downloader.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user