From f15c5e9668fd970775485029c335a1fbaed9161b Mon Sep 17 00:00:00 2001 From: Sam Noel Date: Mon, 30 Sep 2024 09:51:21 -0400 Subject: [PATCH] fix: tweaked log message --- package.json | 4 ++-- src/Queue.ts | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) 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_);