From c4f8fe95a89c08d99eac6e100154bb211decc1be Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Thu, 6 Nov 2025 16:40:45 -0300 Subject: [PATCH] SIENTIAPDE-1325 Update IngestorManager to use asynchronous methods for checking OPC server cycles and listening status --- ingestor/managers/ingestor_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestor/managers/ingestor_manager.py b/ingestor/managers/ingestor_manager.py index bb04c63..030e305 100644 --- a/ingestor/managers/ingestor_manager.py +++ b/ingestor/managers/ingestor_manager.py @@ -298,9 +298,9 @@ class IngestorManager(SientiaMonitoring): """ to_disconnect: list[str] = [] for server, opc_manager in self.opc_managers.items(): - opc_manager.check_cycles() + await opc_manager.check_cycles() - is_lost = opc_manager.check_opc_listenning() + is_lost = await opc_manager.check_opc_listenning() if is_lost: self.logger.warning(f'OPC server {server} is lost. Server will be disconnected.')