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

Supervisor: restart intensity #26

Open
ysbaddaden opened this issue Mar 6, 2025 · 1 comment
Open

Supervisor: restart intensity #26

ysbaddaden opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working enhancement supervisor Related to Earl::Supervisor

Comments

@ysbaddaden
Copy link
Owner

Erlang supervisors can define a maximum number of restarts over a period, after which the supervisor will shutdown. This avoids repeated, if not infinite, crash loops.

https://www.erlang.org/doc/system/sup_princ#maximum-restart-intensity

@ysbaddaden ysbaddaden added enhancement supervisor Related to Earl::Supervisor labels Mar 6, 2025
@ysbaddaden ysbaddaden added this to Board Mar 6, 2025
@ysbaddaden ysbaddaden moved this to Backlog in Board Mar 6, 2025
@ysbaddaden ysbaddaden added the bug Something isn't working label Mar 7, 2025
@ysbaddaden
Copy link
Owner Author

I added the bug label because the current Supervisor will enter an infinite busy loop when an actor fails to start, or suddenly starts crashing, when it should fail gracefully.

@ysbaddaden ysbaddaden moved this from Backlog to Todo in Board Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement supervisor Related to Earl::Supervisor
Projects
Status: Todo
Development

No branches or pull requests

1 participant