diff options
author | Brujo Benavides <[email protected]> | 2016-11-03 12:59:27 -0300 |
---|---|---|
committer | Brujo Benavides <[email protected]> | 2016-11-15 09:28:39 -0300 |
commit | 26b0619b05d36e87849ff249f0e68cf9bfd1d1fd (patch) | |
tree | d25fc52f4ff8e908aa677dbe6e592543a7f7bb86 /system | |
parent | 214aba4561eb09020379cb4d7da7e6fffe2873ab (diff) | |
download | otp-26b0619b05d36e87849ff249f0e68cf9bfd1d1fd.tar.gz otp-26b0619b05d36e87849ff249f0e68cf9bfd1d1fd.tar.bz2 otp-26b0619b05d36e87849ff249f0e68cf9bfd1d1fd.zip |
Expand on the behavior of supervisors
Add additional details on the behavior of supervisors when
reaching maximum restart intensity, as stated by @rvirding
at [Medium](https://goo.gl/XhwpSL)
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/design_principles/sup_princ.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/doc/design_principles/sup_princ.xml b/system/doc/design_principles/sup_princ.xml index 0a24e97950..c24177d842 100644 --- a/system/doc/design_principles/sup_princ.xml +++ b/system/doc/design_principles/sup_princ.xml @@ -163,7 +163,9 @@ SupFlags = #{strategy => Strategy, ...}</code> SupFlags = #{intensity => MaxR, period => MaxT, ...}</code> <p>If more than <c>MaxR</c> number of restarts occur in the last <c>MaxT</c> seconds, the supervisor terminates all the child - processes and then itself.</p> + processes and then itself. + The termination reason for the supervisor itself in that case will be + <c>shutdown</c>.</p> <p>When the supervisor terminates, then the next higher-level supervisor takes some action. It either restarts the terminated supervisor or terminates itself.</p> |