summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2018-10-17 17:43:56 -0400
committerNick Vatamaniuc <vatamane@apache.org>2018-10-17 17:43:56 -0400
commit84b5acf06857b094dab5281d59c41cf3e574db57 (patch)
tree10013cb32b174857e22c94a5757e51503b3004da
parentadaad7ca0de50ffff5e73197a627c4f89d0fb33c (diff)
downloadcouchdb-fix-log-to-handle-extra-args.tar.gz
Improve restart resilience of couch_log applicationfix-log-to-handle-extra-args
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.
-rw-r--r--src/couch_log/src/couch_log_sup.erl2
1 files changed, 1 insertions, 1 deletions
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() ->