diff options
author | Brad Anderson <brad@cloudant.com> | 2010-06-15 10:23:38 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 01:06:40 -0400 |
commit | 86720c8aad8d8329e8c029a0f9c5fa90d9e04adf (patch) | |
tree | 2238ad339bd09670fdb8d4a55b452ad7857751ec /src/membership_sup.erl | |
parent | 8759d8d56b4214cb209563dabbfeb298e0afd21d (diff) |
add membership events back into mem3, and add dbs handlers
Diffstat (limited to 'src/membership_sup.erl')
-rw-r--r-- | src/membership_sup.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/membership_sup.erl b/src/membership_sup.erl index 27e547ff..f203924d 100644 --- a/src/membership_sup.erl +++ b/src/membership_sup.erl @@ -21,6 +21,12 @@ init(_Args) -> 1000, worker, [mem3]}, + MemEventMgr = {mem_event_manager, + {gen_event, start_link, [{local, membership_events}]}, + permanent, + 1000, + worker, + []}, DbsRepl = {dbs, {dbs, start_link, []}, @@ -35,4 +41,4 @@ init(_Args) -> 1000, worker, [dbs_cache]}, - {ok, {{one_for_one,10,1}, [Membership, DbsRepl, DbsCache]}}. + {ok, {{one_for_one,10,1}, [Membership, MemEventMgr, DbsRepl, DbsCache]}}. |