diff --git a/packages/server/src/utilities/queue/inMemoryQueue.js b/packages/server/src/utilities/queue/inMemoryQueue.js index 6c1d73801d..1a9fc90d5c 100644 --- a/packages/server/src/utilities/queue/inMemoryQueue.js +++ b/packages/server/src/utilities/queue/inMemoryQueue.js @@ -73,6 +73,14 @@ class InMemoryQueue { this._messages.push(newJob(this._name, msg)) this._emitter.emit("message") } + + /** + * This removes a cron which has been implemented, this is part of Bull API. + * @param {string} cronJobId The cron which is to be removed. + */ + removeRepeatableByKey(cronJobId) { + // TODO: implement for testing + } } module.exports = InMemoryQueue