summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2018-10-17 17:43:56 -0400
committerNick Vatamaniuc <nickva@users.noreply.github.com>2018-10-18 10:51:14 -0400
commitc980b8016dcf2c205571c3fb9d25f44e2f631074 (patch)
tree10013cb32b174857e22c94a5757e51503b3004da
parent92c7530fc8d5d881cdb452b5412f91b9ead4f1dd (diff)
downloadcouchdb-c980b8016dcf2c205571c3fb9d25f44e2f631074.tar.gz
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.
-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() ->