Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
test
.formatter.exs
.gitignore
README.md
mix.exs

README.md

DynSup

Description

The purpose of this project is just to show a strange behaviour on DynamicSupervisor. When all children of such a supervisor suddenly die, the supervisor itself is restarted.

Use

iex -S mix

:observer.start # have a look to DynSup pid
ChildMgr.setup # ok 4 children
ChildMgr.crash_all # ko no more children and DynSup pid change
You can’t perform that action at this time.