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

Only restart shards if they terminate unexpectedly #195

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

tonnenpinguin
Copy link
Contributor

Fixes #194

This ensures the Supervisor doesn't restart Shards that we're trying to shut down using Phoenix.Tracker.graceful_permdown/1

@josevalim
Copy link
Member

@kianmeng would you be so kind to help us update this GitHub Action? :)

@josevalim josevalim merged commit 148ae10 into phoenixframework:main Mar 5, 2025
0 of 2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

I have ran the tests locally.

@SteffenDE
Copy link
Contributor

I updated CI

@tonnenpinguin tonnenpinguin deleted the fix/shard-restart branch March 5, 2025 15:25
@kianmeng
Copy link
Contributor

kianmeng commented Mar 5, 2025

@josevalim Sorry, just saw your message. I believe SteffenDE already patched it.

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.

Shards are being restarted while calling Phoenix.Tracker.graceful_permdown/1
4 participants