Add graceful shutdown to ServiceAsTool's start_consuming_callable task. #51

Closed
opened 2026-02-16 01:15:25 -05:00 by yindo · 1 comment
Owner

Originally created by @nerdai on GitHub (Jul 20, 2024).

When acall is invoked for ServiceAsTool's it may register to the message queue and send the returned start_consuming_callable task in the "background" via asyncio.create_task.

When shutting down a system with such a service, we don't currently cancel this task.

Originally created by @nerdai on GitHub (Jul 20, 2024). When `acall` is invoked for `ServiceAsTool's` it may register to the message queue and send the returned `start_consuming_callable` task in the "background" via `asyncio.create_task`. When shutting down a system with such a service, we don't currently cancel this task.
yindo added the enhancementP1 labels 2026-02-16 01:15:25 -05:00
yindo closed this issue 2026-02-16 01:15:25 -05:00
Author
Owner

@masci commented on GitHub (Feb 19, 2025):

Closing as ServiceAsTool was deprecated

@masci commented on GitHub (Feb 19, 2025): Closing as `ServiceAsTool` was deprecated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_deploy#51