diff --git a/package-lock.json b/package-lock.json index 180afa8..06d115e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ulms/api-clients", - "version": "7.21.0", + "version": "7.21.0-dev.0-ULMS-3378", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ulms/api-clients", - "version": "7.21.0", + "version": "7.21.0-dev.0-ULMS-3378", "license": "MIT", "dependencies": { "axios": "1.6.2", diff --git a/package.json b/package.json index 8a15d9c..97bd9f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/api-clients", - "version": "7.21.0", + "version": "7.21.0-dev.0-ULMS-3378", "description": "JavaScript API clients for ULMS platform", "keywords": [], "homepage": "https://github.com/foxford/ulms-api-clients-js#readme", diff --git a/src/nats-manager.js b/src/nats-manager.js index 53ee78b..8760367 100644 --- a/src/nats-manager.js +++ b/src/nats-manager.js @@ -82,6 +82,10 @@ class NatsManager { // waiting 2 seconds between reconnections await sleep(2e3) } + + if (this.forcedStop) { + break + } } }