summaryrefslogtreecommitdiff
path: root/p11p-daemon
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-06-24 10:02:48 +0200
committerLinus Nordberg <linus@sunet.se>2019-06-24 10:02:48 +0200
commitdddb9d46cb1df1af0ed776780c512f0dca23242a (patch)
tree5d6a3aded105bd6919e7569aaf90824e4ce741ba /p11p-daemon
parent6f8df1ecec5461565092a2f95006d934051c48ad (diff)
use default intensity/restart values (1 restart in 5 seconds)
Diffstat (limited to 'p11p-daemon')
-rw-r--r--p11p-daemon/src/p11p_sup.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/p11p-daemon/src/p11p_sup.erl b/p11p-daemon/src/p11p_sup.erl
index 9ea5ae6..ee19d2b 100644
--- a/p11p-daemon/src/p11p_sup.erl
+++ b/p11p-daemon/src/p11p_sup.erl
@@ -19,7 +19,8 @@ start_link() ->
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
- {ok, {{one_for_all, 10, 10}, [
- ?CHILD(p11p_config, worker),
- ?CHILD(p11p_server_sup, supervisor)
- ]}}.
+ {ok, {{one_for_all, 1, 5},
+ [
+ ?CHILD(p11p_config, worker),
+ ?CHILD(p11p_server_sup, supervisor)
+ ]}}.