mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-07-16 10:54:29 -04:00
[PR #445] [MERGED] fix: launch only one SimpleMessageQueueServer per API Server instance #468
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/445
Author: @masci
Created: 1/30/2025
Status: ✅ Merged
Merged: 1/31/2025
Merged by: @masci
Base:
main← Head:massi/apiserver-message-queue📝 Commits (2)
f73743cfix: launch only one SimpleMessageQueueServer per API Server instance637a9f6fix tests📊 Changes
4 files changed (+28 additions, -22 deletions)
View changed files
📝
e2e_tests/apiserver/conftest.py(+3 -1)📝
e2e_tests/apiserver/deployments/deployment_env_git.yml(+2 -4)📝
llama_deploy/apiserver/deployment.py(+19 -13)📝
tests/apiserver/test_deployment.py(+4 -4)📄 Description
This fixes a subtle bug we had when creating multiple deployments on a single API Server instance, all using
SimpleMessageQueue. Before we would start a server for each deployment, causing an error (address already in use). The API Server would still mostly work, but with an inconsistent state.With this PR we move the logic from
Deploymentto theManager, ensuring a single instance.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.