summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILYA Khlopotov <iilyak@ca.ibm.com>2015-08-26 06:00:26 -0700
committerILYA Khlopotov <iilyak@ca.ibm.com>2015-08-26 06:00:26 -0700
commitbaf88d0527f10b50c9373edbd367fed7094d04cb (patch)
treea789652bcc241f723f1842c4ef6fef42811c429e
parente3e1bfc4d0f2bd2a1fe25267b6b6b25540054402 (diff)
downloadcouchdb-baf88d0527f10b50c9373edbd367fed7094d04cb.tar.gz
Fix 'handle_config_terminate/3'
-rw-r--r--src/custodian/src/custodian_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custodian/src/custodian_server.erl b/src/custodian/src/custodian_server.erl
index 85095d12b..41c8d80e0 100644
--- a/src/custodian/src/custodian_server.erl
+++ b/src/custodian/src/custodian_server.erl
@@ -41,7 +41,7 @@ handle_config_change("couchdb", "maintenance_mode", _, _, S) ->
handle_config_change(_, _, _, _, S) ->
{ok, S}.
-handle_config_terminate(_, _, _) -> ok;
+handle_config_terminate(_, stop, _) -> ok;
handle_config_terminate(Self, _, _) ->
spawn(fun() ->
timer:sleep(5000),