mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #326] [MERGED] fix: remove timeout from the underlying network service #398
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/326
Author: @masci
Created: 10/17/2024
Status: ✅ Merged
Merged: 10/17/2024
Merged by: @logan-markewich
Base:
main← Head:massi/320📝 Commits (1)
82da594remove timeout from the underlying network service📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
llama_deploy/deploy/network_workflow.py(+2 -2)📄 Description
Fixes #320
When deploying nested workflows, another "system" workflow
NetworkWorkflowis started under the hood to provide a map workflow<-->service. This workflow has no timeout set, defaulting to 10s. But if the overall deployment requires more than 10 seconds to run,NetworkWorkflowwill exit before the deployment can finish, causing #320We should probably review the strategy of
NetworkWorkflow, specially when nested workflows are involved, but for the time being this fix should be good.I didn't find a way to meaningfully unit test this, and a proper e2e test would take >10s so I propose we don't test it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.