Added limit
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-08-13 16:26:35 +02:00
parent 7a3de746cc
commit a10e091b62
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module.exports = Self => {
const models = Self.app.models;
try {
const imageQueue = await Self.find({where: {error: null}, limit: 100});
const imageQueue = await Self.find({where: {error: null}, limit: 25});
/* const tempPath = path.join('/tmp/salix-image'); */
const rootPath = models.Image.getPath();
const tempPath = path.join(rootPath, 'temp');