Skip to content

Commit b59c3d4

Browse files
committed
Update article with code to see restart types of applications
1 parent b2be987 commit b59c3d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_posts/2024-12-05-why-did-the-elixir-application-keep-running-despite-dependency-shutdown.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ This guarantees that, if any dependency of our application (or the application i
5656

5757
> :permanent - if app terminates, all other applications and the entire node are also terminated.
5858
59+
Just to note it here, to see `restart_type`s of all started applications, you can run:
60+
61+
```elixir
62+
:application_controller.info()
63+
```
64+
5965
### Sources
6066

6167
Some links that helped me understand how Erlang manages applications and the role of `restart_type`.

0 commit comments

Comments
 (0)