commit | 1c18cd7b6bb610db98213d5427cc150be73cf2c2 | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Fri Jan 30 11:15:08 2015 -0800 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Wed Feb 04 06:06:34 2015 -0800 |
tree | c121f3a50811ad8c4f892858139fe0f141eaffc9 | |
parent | 71cd331daf7a0568ff641a06543fa62cc4221fc4 [diff] |
Don't restart event handler on termiation COUCHDB-2561
diff --git a/src/couch_event_os_sup.erl b/src/couch_event_os_sup.erl index 2a1457b..6c2b787 100644 --- a/src/couch_event_os_sup.erl +++ b/src/couch_event_os_sup.erl
@@ -60,6 +60,7 @@ handle_config_change(_, _, _, _, _) -> {ok, nil}. +handle_config_terminate(_, stop, _) -> ok; handle_config_terminate(_, _, _) -> spawn(fun() -> timer:sleep(5000),