diff options
Diffstat (limited to 'src/membership_sup.erl')
-rw-r--r-- | src/membership_sup.erl | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/membership_sup.erl b/src/membership_sup.erl deleted file mode 100644 index f203924d..00000000 --- a/src/membership_sup.erl +++ /dev/null @@ -1,44 +0,0 @@ --module(membership_sup). --author('brad@cloudant.com'). - --behaviour(supervisor). - -%% API --export([start_link/0]). - -%% Supervisor callbacks --export([init/1]). - --define(SERVER, ?MODULE). - -start_link() -> - supervisor:start_link(?MODULE, []). - -init(_Args) -> - Membership = {membership, - {mem3, start_link, []}, - permanent, - 1000, - worker, - [mem3]}, - MemEventMgr = {mem_event_manager, - {gen_event, start_link, [{local, membership_events}]}, - permanent, - 1000, - worker, - []}, - DbsRepl = - {dbs, - {dbs, start_link, []}, - permanent, - infinity, - supervisor, - [dbs]}, - DbsCache = - {dbs_cache, - {dbs_cache, start_link, []}, - permanent, - 1000, - worker, - [dbs_cache]}, - {ok, {{one_for_one,10,1}, [Membership, MemEventMgr, DbsRepl, DbsCache]}}. |