Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer shutdown until actives sessions are 0 #1108

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Jake-Shadle
Copy link
Collaborator

This defers shutdown by still processing I/O requests in the existing downstream and session handlers, but blocks downstream loops from creating new sessions, so sessions will stay alive as long as traffic continues, but once they don't have traffic any longer they will eventually be pruned from the pool, and shutdown will continue, also shutting down the phoenix thread if it exists before informing the proxy to exit.

Resolves: #1107

This is already handled in config.toml, and only adds the flags for the x86 arch so that warnings aren't emitted
@Jake-Shadle Jake-Shadle enabled auto-merge (squash) February 10, 2025 09:35
@Jake-Shadle
Copy link
Collaborator Author

/gcbrun

@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 9861171b-3e5c-4d73-85f5-012784bd248e

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch [email protected]:googleforgames/quilkin.git pull/1108/head:pr_1108 && git checkout pr_1108
cargo build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Block io-uring shutdown on full session termination
3 participants