diff options
-rw-r--r-- | ebin/mem3.app | 4 | ||||
-rw-r--r-- | src/mem3_sup.erl | 9 | ||||
-rw-r--r-- | src/mem3_sync_event.erl (renamed from src/mem3_event.erl) | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/ebin/mem3.app b/ebin/mem3.app index 1b04f5a1..d0caaeec 100644 --- a/ebin/mem3.app +++ b/ebin/mem3.app @@ -6,17 +6,17 @@ mem3, mem3_app, mem3_cache, - mem3_event, mem3_httpd, mem3_server, mem3_sup, mem3_sync, + mem3_sync_event, mem3_util, mem3_vclock ]}, {registered, [ mem3_cache, - mem3_event, + mem3_events, mem3_server, mem3_sync, mem3_sup diff --git a/src/mem3_sup.erl b/src/mem3_sup.erl index 122e68d7..0a9f66d0 100644 --- a/src/mem3_sup.erl +++ b/src/mem3_sup.erl @@ -8,15 +8,14 @@ start_link() -> init(_Args) -> Children = [ child(mem3_server), - child(mem3_event), + child(mem3_events), child(mem3_sync), child(mem3_cache) ], {ok, {{one_for_one,10,1}, Children}}. -child(mem3_event) -> - MFA = {gen_event, start_link, [{local,mem3_event}]}, - {mem3_event, MFA, permanent, 1000, worker, dynamic}; +child(mem3_events) -> + MFA = {gen_event, start_link, [{local, mem3_events}]}, + {mem3_events, MFA, permanent, 1000, worker, dynamic}; child(Child) -> {Child, {Child, start_link, []}, permanent, 1000, worker, [Child]}. -
\ No newline at end of file diff --git a/src/mem3_event.erl b/src/mem3_sync_event.erl index 59156adc..1a360bde 100644 --- a/src/mem3_event.erl +++ b/src/mem3_sync_event.erl @@ -1,4 +1,4 @@ --module(mem3_event). +-module(mem3_sync_event). -behaviour(gen_event). |