diff --git a/package.json b/package.json index 07e0822..f6af491 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oada/jobs", - "version": "4.6.0", + "version": "4.6.1", "description": "A library for oada job based microservices", "source": "src/index.ts", "main": "dist/index.js", @@ -149,4 +149,4 @@ "xksuid": "https://github.com/g12i/xksuid.git#fix-crypto-polyfill", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" } -} +} \ No newline at end of file diff --git a/src/Queue.ts b/src/Queue.ts index 1eaa299..9bac8ff 100644 --- a/src/Queue.ts +++ b/src/Queue.ts @@ -161,10 +161,7 @@ export class Queue { } else { // AssertJobs(jobs); await this.#doJobs(jobs as OADAJobs); - trace( - Object.keys(jobs).length, - ' existing jobs added and doJobs is complete, starting watch.', - ); + trace(`Existing queue size: ${Object.keys(jobs).length}`); } } catch (error_) { error(`[QueueId: ${this._id}] Failed to start WATCH, %O`, error_);