Skip to content

Add graceful shutdown to uvicorn.run#549

Merged
leszko merged 1 commit intomainfrom
rafal/fix-shutdown
Feb 27, 2026
Merged

Add graceful shutdown to uvicorn.run#549
leszko merged 1 commit intomainfrom
rafal/fix-shutdown

Conversation

@leszko
Copy link
Copy Markdown
Collaborator

@leszko leszko commented Feb 27, 2026

Without timeout_graceful_shutdown, if there is any connection open, then the server never stops. That is that when user opens in the frontend the preview for source from NDI or Syphon.

We don't have any server-side tasks that would need to be completed before the server shutdown, so setting it to a low value solves all the problems.

@leszko leszko merged commit 4078793 into main Feb 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant