mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Bumped bree to 6.2.0
refs 55060e323c
- This bump was meant to be done when the referenced changes landed. Without it parts of worker thread messages are lost
This commit is contained in:
parent
0e951cad36
commit
6b2494a5bc
3 changed files with 4 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@breejs/later": "4.0.2",
|
||||
"bree": "4.1.1",
|
||||
"bree": "6.2.0",
|
||||
"cron-validate": "1.4.2",
|
||||
"fastq": "1.10.1",
|
||||
"p-wait-for": "3.2.0"
|
||||
|
|
|
@ -243,7 +243,7 @@ describe('Job Manager', function () {
|
|||
|
||||
should(workerMessageHandlerSpy.called).be.true();
|
||||
should(workerMessageHandlerSpy.args[0][0].name).equal('will-send-msg');
|
||||
should(workerMessageHandlerSpy.args[0][0].message).equal('hello from Ghost!');
|
||||
should(workerMessageHandlerSpy.args[0][0].message).equal('Worker received: hello from Ghost!');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -13,7 +13,8 @@ if (parentPort) {
|
|||
return;
|
||||
}
|
||||
|
||||
parentPort.postMessage(message);
|
||||
// post the message back
|
||||
parentPort.postMessage(`Worker received: ${message}`);
|
||||
process.exit(0);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue