commit | e151ae430454121db74a051b61bd23f582bcc39b | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Thu Jan 29 12:55:27 2015 -0800 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Wed Feb 04 06:00:10 2015 -0800 |
tree | 141a378f4445162f6a42682ad2d4e5c55fa985d2 | |
parent | ee24f3ef1a40c1441852dea41061998ac30eb3de [diff] |
Callback driven API for config_listener behaviour This implementaion replaces a mix of message driven and callback driven API for config_listener. In particular it replaces gen_event_EXIT message with a call to Module:handle_config_stop(Pid, Reason, State). This fixes the problem of using config:listen_for_changes in supervisor context where there is no way to handle arbitrary messages. COUCHDB-2561