Skip to content
Browse files

Clarify documentation of shutdown timeout in supervisor child specs

Make it explicit that the shutdown timeout is to be specified in
milliseconds.
  • Loading branch information...
1 parent c9a40f4 commit b915bb2da3e5f507439df3ee8e259fb0a9bc424e @legoscia legoscia committed with bjorng
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stdlib/doc/src/supervisor.xml
View
2 lib/stdlib/doc/src/supervisor.xml
@@ -156,7 +156,7 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules}
the child process to terminate by calling
<c>exit(Child,shutdown)</c> and then wait for an exit signal
with reason <c>shutdown</c> back from the child process. If
- no exit signal is received within the specified time,
+ no exit signal is received within the specified number of milliseconds,
the child process is unconditionally terminated using
<c>exit(Child,kill)</c>.</p>
<p>If the child process is another supervisor, <c>Shutdown</c>

0 comments on commit b915bb2

Please sign in to comment.
Something went wrong with that request. Please try again.