From dddb9d46cb1df1af0ed776780c512f0dca23242a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 24 Jun 2019 10:02:48 +0200 Subject: use default intensity/restart values (1 restart in 5 seconds) --- p11p-daemon/src/p11p_sup.erl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'p11p-daemon') 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) + ]}}. -- cgit v1.1