summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriilyak <iilyak@ca.ibm.com>2015-08-26 06:03:12 -0700
committeriilyak <iilyak@ca.ibm.com>2015-08-26 06:03:12 -0700
commit796bb41ccd797e2a6e8b8dd10cc7b538d91af942 (patch)
treea789652bcc241f723f1842c4ef6fef42811c429e
parente3e1bfc4d0f2bd2a1fe25267b6b6b25540054402 (diff)
parentbaf88d0527f10b50c9373edbd367fed7094d04cb (diff)
downloadcouchdb-796bb41ccd797e2a6e8b8dd10cc7b538d91af942.tar.gz
Merge pull request #20 from cloudant/config_listener_fixup
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),