From 02df3090fc5d692e9d515ceb78c650f38fab3eef Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Fri, 10 May 2024 17:30:07 +0200 Subject: [PATCH] wippppppppppp --- CountItems/masterProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CountItems/masterProcess.js b/CountItems/masterProcess.js index f355e314..0115b220 100644 --- a/CountItems/masterProcess.js +++ b/CountItems/masterProcess.js @@ -43,7 +43,7 @@ const countMaster = new CountMaster({ }); metricServer.onRequest((req, res) => monitoring.metricsHandler( - countMaster.stop, + countMaster.stop(null, () => process.exit(1)), req, res, ));