commit | 0ffa7cd9fd1e89ae667ed234d21e04696e3033ae | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Fri Jan 30 11:30:02 2015 -0800 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Fri Jan 30 11:30:02 2015 -0800 |
tree | eb709dcb55749662ac18a15b488f152cba919dc2 | |
parent | ad60d329a038d2b1aa5ee083f22b1ee7906ec31d [diff] |
Don't restart event handler on termination COUCHDB-2561
diff --git a/src/ioq.erl b/src/ioq.erl index c4b3b4e..967a49b 100644 --- a/src/ioq.erl +++ b/src/ioq.erl
@@ -91,6 +91,7 @@ handle_config_change(_, _, _, _, _) -> {ok, nil}. +handle_config_terminate(_, stop, _) -> ok; handle_config_terminate(_, _, _) -> spawn(fun() -> timer:sleep(5000),