Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
refactor: update TelemetryService and change Service teardown methods to be async (#2937)
* refactor: convert teardown_services function to async The `teardown_services` function in `utils.py` has been converted to an asynchronous function to ensure proper handling of asynchronous operations during service teardown. This change improves the overall reliability and performance of the codebase. * refactor: convert teardown method to async Convert the `teardown` method in the `Service` class to an asynchronous function to handle asynchronous operations during service teardown. This change improves the reliability and performance of the codebase. * refactor: convert teardown methods to async in services * feat: add teardown method in TelemetryService Convert the `teardown` method in the `TelemetryService` class to an asynchronous function to handle asynchronous operations during service teardown. This change improves the reliability and performance of the codebase. * refactor: update TelemetryService to use optimized payload in get request The `TelemetryService` class in `service.py` has been updated to use an optimized payload dictionary in the `get` request. This change improves the efficiency and performance of the codebase. * refactor: convert teardown method to async in utils.py
G
Gabriel Luiz Freitas Almeida committed
e0a0242d7a06cf5e4e25363de60684342f4e34a8
Parent: 51b85db
Committed by GitHub <noreply@github.com>
on 7/25/2024, 12:49:43 PM