mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #394] [MERGED] fix: make SimpleMessageQueue server cancellable #435
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/394
Author: @masci
Created: 11/29/2024
Status: ✅ Merged
Merged: 11/30/2024
Merged by: @masci
Base:
main← Head:massi/simplequeue-shutdown📝 Commits (1)
8dc684afix: make SimpleMessageQueue server cancellable📊 Changes
3 files changed (+28 additions, -11 deletions)
View changed files
➕
e2e_tests/message_queues/message_queue_simple/__init__.py(+0 -0)➕
e2e_tests/message_queues/message_queue_simple/test_message_queue.py(+19 -0)📝
llama_deploy/message_queues/simple.py(+9 -11)📄 Description
Several services don't shutdown properly, and while this is not a problem when you tear down the whole process, it's becoming an issue while we start moving towards a more distributed architecture, where services are expected to come and go (think of orchestrators).
This PR makes
SimpleMessageQueue.launch_server()cancellable, more to come.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.