Skip to content

Commit

Permalink
Merge pull request #708 from freedomofpress/deprioritize-downloads
Browse files Browse the repository at this point in the history
app/queue: prioritize user-triggered state changes
  • Loading branch information
kushaldas committed Jan 20, 2020
2 parents 7e876d7 + bb360b8 commit 3bb0e7d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions securedrop_client/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

'''
Expand Down

0 comments on commit 3bb0e7d

Please sign in to comment.