SIENTIAPDE-1318

Refactor app.py for consistency in comment formatting

- Updated the main asynchronous function and loop condition comments for improved readability and consistency.
This commit is contained in:
vitor-aignosi
2025-10-17 16:25:50 -03:00
parent a192e2ba04
commit acae38377f

View File

@@ -14,7 +14,7 @@ exit_signal = Event()
POD_ID = os.getenv('HOSTNAME', 'localhost')
async def main(): # NOSONAR
async def main(): # NOSONAR
"""
Main asynchronous function that orchestrates the OPC Ingestor application.
@@ -48,7 +48,7 @@ async def main(): # NOSONAR
exit_signal.set()
ingestor.logger.info('Ingestor prepared. Starting main loop.')
while not exit_signal.is_set(): # NOSONAR
while not exit_signal.is_set(): # NOSONAR
start_time = time() # Start loop timer
try:
await ingestor.loop()