From 84b5acf06857b094dab5281d59c41cf3e574db57 Mon Sep 17 00:00:00 2001 From: Nick Vatamaniuc Date: Wed, 17 Oct 2018 17:43:56 -0400 Subject: Improve restart resilience of couch_log application Previously it was too easy to crash the whole node when any of couch_log's children restarted. To improve resiliency, let couch_log application restart a few more times before taking down the whole node with it. --- src/couch_log/src/couch_log_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch_log/src/couch_log_sup.erl b/src/couch_log/src/couch_log_sup.erl index 083f5fc33..6219a36e9 100644 --- a/src/couch_log/src/couch_log_sup.erl +++ b/src/couch_log/src/couch_log_sup.erl @@ -26,7 +26,7 @@ start_link() -> init([]) -> ok = couch_log_config:init(), - {ok, {{one_for_one, 1, 1}, children()}}. + {ok, {{one_for_one, 10, 10}, children()}}. children() -> -- cgit v1.2.1