Skip to content

Commit

Permalink
[build] Update download queue handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 27, 2023
1 parent 42e72eb commit bb81d5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -3514,6 +3514,7 @@ def refresh_download_queue(self):
self.cache = {
entry["downloadId"]: entry["id"] for entry in self.queue if entry.get("downloadId")
}
self.model_queue.delete().where(self.model_queue.EntryId.not_in(self.cache))
if self.type == "sonarr":
self.requeue_cache = defaultdict(set)
for entry in self.queue:
Expand Down

0 comments on commit bb81d5a

Please sign in to comment.