aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/design_principles/appup_cookbook.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-10-20 16:59:10 +0200
committerSiri Hansen <[email protected]>2014-11-06 14:48:00 +0100
commitde1d77d0b4e8ab9e507addf7878457202357ca32 (patch)
tree0cdeff2e3c25ea5165d03e14d4de851edff3c157 /system/doc/design_principles/appup_cookbook.xml
parent6bea4f50bb836f9f2593a754d885db4596f8a987 (diff)
downloadotp-de1d77d0b4e8ab9e507addf7878457202357ca32.tar.gz
otp-de1d77d0b4e8ab9e507addf7878457202357ca32.tar.bz2
otp-de1d77d0b4e8ab9e507addf7878457202357ca32.zip
Add documentation of maps in supervisor flags and child specs
Diffstat (limited to 'system/doc/design_principles/appup_cookbook.xml')
-rw-r--r--system/doc/design_principles/appup_cookbook.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/doc/design_principles/appup_cookbook.xml b/system/doc/design_principles/appup_cookbook.xml
index 70c34a5a06..45f144e8b7 100644
--- a/system/doc/design_principles/appup_cookbook.xml
+++ b/system/doc/design_principles/appup_cookbook.xml
@@ -4,7 +4,7 @@
<chapter>
<header>
<copyright>
- <year>2003</year><year>2013</year>
+ <year>2003</year><year>2014</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -239,7 +239,7 @@ system_code_change(Chs, _Module, _OldVsn, _Extra) ->
<marker id="sup"></marker>
<title>Changing a Supervisor</title>
<p>The supervisor behaviour supports changing the internal state,
- i.e. changing restart strategy and maximum restart frequency
+ i.e. changing restart strategy and maximum restart intensity
properties, as well as changing existing child specifications.</p>
<p>Adding and deleting child processes are also possible, but not
handled automatically. Instructions must be given by in
@@ -267,7 +267,7 @@ system_code_change(Chs, _Module, _OldVsn, _Extra) ->
...
init(_Args) ->
- {ok, {{one_for_all, 1, 60}, ...}}.</code>
+ {ok, {#{strategy => one_for_all, ...}, ...}}.</code>
<p>The file <c>ch_app.appup</c>:</p>
<code type="none">
{"2",