From 475caa90db60c35b491f82340069a1ea4ba6757d Mon Sep 17 00:00:00 2001
From: "p.vanderwilt"
Date: Mon, 21 Jul 2025 17:32:00 +0200
Subject: [PATCH] Fixed bugs in connectReactor
---
src/helper/childRegistrationUtils.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/helper/childRegistrationUtils.js b/src/helper/childRegistrationUtils.js
index 8db49d8..7b3cbb7 100644
--- a/src/helper/childRegistrationUtils.js
+++ b/src/helper/childRegistrationUtils.js
@@ -237,9 +237,8 @@ class ChildRegistrationUtils {
this.logger.info(`Reactor registered successfully.`);
reactor.emitter.on("stateChange", (data) => {
- this.mainClass.logger.debug(`State change of reactor detected: ${data}`);
- this.mainClass.setInflux = data;
- this.mainClass.updateState(data.timestamp);
+ this.mainClass.logger.debug(`State change of upstream reactor detected.`);
+ this.mainClass.updateState(data);
});
}