Prevent canceling download from being confused with rate limit attacker

This commit is contained in:
Micah Lee 2016-09-06 10:18:50 -07:00
parent 8a40602574
commit 7ab936cec2
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -73,7 +73,7 @@ REQUEST_DOWNLOAD = 1
REQUEST_PROGRESS = 2
REQUEST_OTHER = 3
REQUEST_CANCELED = 4
REQUEST_RATE_LIMIT = 4
REQUEST_RATE_LIMIT = 5
q = queue.Queue()