Added limit
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
49af185976
commit
7a3de746cc
|
@ -20,7 +20,7 @@ module.exports = Self => {
|
||||||
const models = Self.app.models;
|
const models = Self.app.models;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const imageQueue = await Self.find({where: {error: null}});
|
const imageQueue = await Self.find({where: {error: null}, limit: 100});
|
||||||
/* const tempPath = path.join('/tmp/salix-image'); */
|
/* const tempPath = path.join('/tmp/salix-image'); */
|
||||||
const rootPath = models.Image.getPath();
|
const rootPath = models.Image.getPath();
|
||||||
const tempPath = path.join(rootPath, 'temp');
|
const tempPath = path.join(rootPath, 'temp');
|
||||||
|
|
Loading…
Reference in New Issue