Refactor OPC server integrity checks to be asynchronous

Updated the Ingestor and IngestorManager classes to use async methods for checking OPC server integrity and shutting down OPC managers. Adjusted related tests to ensure proper mocking of asynchronous behavior.
This commit is contained in:
vitor-aignosi
2025-10-23 11:46:02 -03:00
parent d62a1e3381
commit 6d2a0e46be
5 changed files with 20 additions and 7 deletions

View File

@@ -414,7 +414,7 @@ class Ingestor:
# Check OPC cycles
self.logger.info('Checking OPC servers integrity...')
self.ingestor_manager.check_opc_servers_integrity()
await self.ingestor_manager.check_opc_servers_integrity()
self.logger.info('Updating managed tags...')
await self.update_ingestor_manager(current_managed_tags)