diff options
author | ILYA Khlopotov <iilyak@ca.ibm.com> | 2015-01-30 11:30:02 -0800 |
---|---|---|
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | 2015-01-30 11:30:02 -0800 |
commit | 0ffa7cd9fd1e89ae667ed234d21e04696e3033ae (patch) | |
tree | eb709dcb55749662ac18a15b488f152cba919dc2 | |
parent | ad60d329a038d2b1aa5ee083f22b1ee7906ec31d (diff) | |
download | couchdb-0ffa7cd9fd1e89ae667ed234d21e04696e3033ae.tar.gz |
Don't restart event handler on termination
COUCHDB-2561
-rw-r--r-- | src/ioq.erl | 1 |
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), |