diff --git a/CountItems/masterProcess.js b/CountItems/masterProcess.js index db6cdb84..277ce8d0 100644 --- a/CountItems/masterProcess.js +++ b/CountItems/masterProcess.js @@ -55,7 +55,7 @@ const countMaster = new CountMaster({ const metricServer = new WebServer(8003, log).onRequest((req, res) => monitoring.metricsHandler( () => { if (waitingForPromScraping === true) { - countMaster.stop(null, () => process.exit(1)); + countMaster.stop(null, () => process.exit(0)); } }, req, diff --git a/package.json b/package.json index 5a6f8273..9635b58a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3utils", - "version": "1.14.9", + "version": "1.14.10", "engines": { "node": ">= 16" },