scanimport priority

This commit is contained in:
j 2016-02-14 13:03:15 +05:30
parent 446d143d67
commit f7d96747c0

View file

@ -104,7 +104,7 @@ class Tasks(Thread):
priority = 100 priority = 100
if action in ('getcover', 'getpreview'): if action in ('getcover', 'getpreview'):
priority += 1 priority += 1
if action in ('import', 'export'): if action in ('import', 'export', 'scanimport'):
priority -= 1 priority -= 1
if action in ('peering', 'changelibrarypath'): if action in ('peering', 'changelibrarypath'):
priority -= 2 priority -= 2