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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user