mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Moved job metadata attribute to global bree config
no issue - Because every job is getting this attribute anyways there's no need to keep it nested on per-job bases
This commit is contained in:
parent
4b18cbcbdb
commit
986a59abda
2 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,7 @@ const assemble = (when, job, data, name) => {
|
|||
const breeJob = {
|
||||
name: name,
|
||||
// NOTE: both function and path syntaxes work with 'path' parameter
|
||||
path: job,
|
||||
outputWorkerMetadata: true
|
||||
path: job
|
||||
};
|
||||
|
||||
if (data) {
|
||||
|
|
|
@ -32,6 +32,7 @@ class JobManager {
|
|||
this.bree = new Bree({
|
||||
root: false, // set this to `false` to prevent requiring a root directory of jobs
|
||||
hasSeconds: true, // precission is needed to avoid task ovelaps after immidiate execution
|
||||
outputWorkerMetadata: true,
|
||||
logger: logging
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue