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

Add ability to replicate state immediately during normal shutdown #190

Merged
merged 6 commits into from
Sep 27, 2024

Conversation

nathanl
Copy link
Contributor

@nathanl nathanl commented Sep 26, 2024

Add ability to replicate state immediately during normal shutdown via new option

lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
@nathanl
Copy link
Contributor Author

nathanl commented Sep 27, 2024

@josevalim updated PR

@nathanl nathanl changed the title Show how to replicate state immediately during normal shutdown Add ability to replicate state immediately during normal shutdown Sep 27, 2024
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
lib/phoenix/tracker.ex Outdated Show resolved Hide resolved
@chrismccord chrismccord merged commit 4ffeb79 into phoenixframework:main Sep 27, 2024
2 checks passed
@chrismccord
Copy link
Member

❤️❤️❤️🐥🔥

@nathanl
Copy link
Contributor Author

nathanl commented Sep 27, 2024

Hat tip to Jason Axelson for chiming in that, like me, he was doing something like this in his app: https://felt.com/blog/startup-and-shutdown-for-phoenix-applications

@nathanl nathanl deleted the shutdown_technique branch September 27, 2024 19:04
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.

3 participants