From 0afd9adf9b7589094c2b9e9a6b9c877b7af3d032 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Tue, 21 May 2024 12:05:58 +0200 Subject: [PATCH 1/2] S3UTILS-164: fix exit when scraping occurs --- CountItems/masterProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From f0aa2cdc9b29bb68c82be5e8e861d9c437405577 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Tue, 21 May 2024 12:17:21 +0200 Subject: [PATCH 2/2] S3UTILS-164 : project version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },