You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2018/10/18 14:51:22 UTC
[couchdb] 02/02: Improve restart resilience of couch_log application
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c980b8016dcf2c205571c3fb9d25f44e2f631074
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Oct 17 17:43:56 2018 -0400
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 083f5fc..6219a36 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() ->