Skip to content

Commit

Permalink
Fix boot step
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jul 18, 2016
1 parent 62da3c6 commit 24e4c0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rabbit_connection_tracker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
-behaviour(gen_server2).

%% API
-export([start_link/0, reregister/0]).
-export([boot/0, start_link/0, reregister/0]).

%% gen_fsm callbacks
-export([init/1,
Expand All @@ -45,6 +45,10 @@
%%% API
%%%===================================================================

boot() ->
{ok, _} = start_link(),
ok.

start_link() ->
gen_server2:start_link({local, ?SERVER}, ?MODULE, [], []).

Expand Down

0 comments on commit 24e4c0e

Please sign in to comment.