diff --git a/modules/item/back/methods/item-image-queue/downloadImages.js b/modules/item/back/methods/item-image-queue/downloadImages.js index bee5492bc..e3412d6a8 100644 --- a/modules/item/back/methods/item-image-queue/downloadImages.js +++ b/modules/item/back/methods/item-image-queue/downloadImages.js @@ -41,7 +41,7 @@ module.exports = Self => { async function download() { const image = await Self.findOne({ where: {url: {neq: null}, attempts: {lt: maxAttempts}}, - order: 'attempts, updated' + order: 'priority, attempts, updated' }); if (!image) return;