mirror of
https://github.com/sabnzbd/sabnzbd.git
synced 2025-12-24 00:00:12 -05:00
Only download force priority items when paused (#2679)
* Fix when downloader paused only download force priority items * Remove resolved issue
This commit is contained in:
committed by
GitHub
parent
8e2972edae
commit
4d324de343
@@ -48,6 +48,3 @@
|
||||
You can make SABnzbd wait for a mount of the "temporary download folder" by setting
|
||||
Config->Special->wait_for_dfolder to 1.
|
||||
SABnzbd will appear to hang until the drive is mounted.
|
||||
|
||||
- If the queue is paused but one or more jobs have the Force priority, SABnzbd might still
|
||||
download some data from other jobs in the queue if active servers have unused connections.
|
||||
|
||||
@@ -719,7 +719,9 @@ class NzbQueue:
|
||||
propagation_delay = float(cfg.propagation_delay() * 60)
|
||||
for nzo in self.__nzo_list:
|
||||
# Not when queue paused and not a forced item
|
||||
if nzo.status not in (Status.PAUSED, Status.GRABBING) or nzo.priority == FORCE_PRIORITY:
|
||||
if (
|
||||
nzo.status not in (Status.PAUSED, Status.GRABBING) and not sabnzbd.Downloader.paused
|
||||
) or nzo.priority == FORCE_PRIORITY:
|
||||
# Check if past propagation delay, or forced
|
||||
if (
|
||||
not propagation_delay
|
||||
|
||||
Reference in New Issue
Block a user