summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILYA Khlopotov <iilyak@ca.ibm.com>2015-01-30 11:30:02 -0800
committerILYA Khlopotov <iilyak@ca.ibm.com>2015-01-30 11:30:02 -0800
commit0ffa7cd9fd1e89ae667ed234d21e04696e3033ae (patch)
treeeb709dcb55749662ac18a15b488f152cba919dc2
parentad60d329a038d2b1aa5ee083f22b1ee7906ec31d (diff)
downloadcouchdb-0ffa7cd9fd1e89ae667ed234d21e04696e3033ae.tar.gz
Don't restart event handler on termination
COUCHDB-2561
-rw-r--r--src/ioq.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ioq.erl b/src/ioq.erl
index c4b3b4e30..967a49b86 100644
--- a/src/ioq.erl
+++ b/src/ioq.erl
@@ -91,6 +91,7 @@ handle_config_change("ioq", _, _, _, _) ->
handle_config_change(_, _, _, _, _) ->
{ok, nil}.
+handle_config_terminate(_, stop, _) -> ok;
handle_config_terminate(_, _, _) ->
spawn(fun() ->
timer:sleep(5000),