From bb360b823da5ead3c8e8aaeb10f21a68a6ef86c0 Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Tue, 10 Dec 2019 09:30:22 -0500 Subject: [PATCH] app/queue: prioritize user-triggered state changes --- securedrop_client/queue.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/securedrop_client/queue.py b/securedrop_client/queue.py index 1afbcfddf..3f30887d6 100644 --- a/securedrop_client/queue.py +++ b/securedrop_client/queue.py @@ -42,14 +42,13 @@ class RunnableQueue(QObject): JOB_PRIORITIES = { # TokenInvalidationJob: 10, # Not yet implemented PauseQueueJob: 11, - MetadataSyncJob: 12, FileDownloadJob: 13, # File downloads processed in separate queue - MessageDownloadJob: 13, - ReplyDownloadJob: 13, DeleteSourceJob: 14, SendReplyJob: 15, UpdateStarJob: 16, - # FlagJob: 16, # Not yet implemented + MetadataSyncJob: 17, + MessageDownloadJob: 18, + ReplyDownloadJob: 18, } '''