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

This commit is contained in:
Joan Sanchez 2020-07-15 12:11:44 +02:00
parent 72dfa4262a
commit da3d20bb16
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module.exports = Self => {
const models = Self.app.models; const models = Self.app.models;
try { try {
const imageQueue = await Self.find(); const imageQueue = await Self.find({limit: 25});
const rootPath = models.Image.getPath(); const rootPath = models.Image.getPath();
const tempPath = path.join(rootPath, 'temp'); const tempPath = path.join(rootPath, 'temp');