forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make end_all_traces be called at the correct moment (langflow-ai…
…#2516) * fix(tracing/service.py): remove wait_for_all_tracers call * refactor: set reasonable timeout for TelemetryService client * fix: handle HTTP and request errors in TelemetryService Handle HTTPStatusError and RequestError exceptions separately in the send_telemetry_data method of TelemetryService to provide more specific error messages. Also, catch any unexpected exceptions and log them with an appropriate error message. * fix: cancel worker task and close client in TelemetryService stop method Cancel the worker task and close the client in the stop method of TelemetryService to ensure proper cleanup and prevent potential resource leaks. Also handle any exceptions that may occur during the cleanup process and log appropriate error messages. * style(telemetry/service.py): fix indentation issue in await statement to comply with PEP8 guidelines * feat(graph): add method to remove vertex from runnables in Graph class * fix(chat.py): fix issue where vertex was not being removed from runnables list to prevent duplication of results * fix(chat.py): defines when the end_all_traces call should happen
- Loading branch information
1 parent
c9f7a4c
commit 0e2b19d
Showing
4 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters