mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 19:32:54 +03:00
Added one-off job name and current queue length into log line
- this makes it easier to know what jobs are being scheduled and what the current queue length is
This commit is contained in:
parent
cd3930d08e
commit
9a2d765c73
@ -209,7 +209,7 @@ class JobManager {
|
||||
this.bree.add(breeJob);
|
||||
return this.bree.start(name);
|
||||
} else {
|
||||
logging.info('Adding one off inline job to the queue');
|
||||
logging.info(`Adding one-off job to queue with current length = ${this.queue.length()} called '${name || 'anonymous'}'`);
|
||||
|
||||
this.queue.push(async () => {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user