Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-02-18 13:17:34 +01:00
commit ddb443ab8f
1 changed files with 1 additions and 1 deletions

View File

@ -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;