summaryrefslogtreecommitdiff
path: root/src/rvi_app.erl
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-08-20 16:29:41 +0200
committerUlf Wiger <ulf@feuerlabs.com>2015-11-20 13:41:50 -0800
commit457942002c23d1fed831ce7491a3d6cc4576ce9c (patch)
tree6cf3d36d28587279e106f7a2b8f69a404f849a70 /src/rvi_app.erl
parent45ddf112263c1cf583f04ec658f6b141ec3d0b00 (diff)
downloadrvi_core-457942002c23d1fed831ce7491a3d6cc4576ce9c.tar.gz
use gproc to announce/await components
Diffstat (limited to 'src/rvi_app.erl')
-rw-r--r--src/rvi_app.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rvi_app.erl b/src/rvi_app.erl
index 129f28c..5941711 100644
--- a/src/rvi_app.erl
+++ b/src/rvi_app.erl
@@ -10,6 +10,8 @@
-module(rvi_app).
-behaviour(application).
+-include_lib("lager/include/log.hrl").
+
%% Application callbacks
-export([start/2,
@@ -24,8 +26,8 @@ start(_StartType, _StartArgs) ->
rvi_sup:start_link().
start_phase(announce, _, _) ->
- gproc:reg({n,l,rvi_core}),
- ok;
+ rvi_server:await();
+
start_phase(ping, _, _) ->
%% exoport:ping(),
ok.