chore(stomp.erl): Prepare for depot merge

This commit is contained in:
Vincent Ambo 2019-12-21 01:20:41 +00:00
parent ad0d127ab3
commit 32d16e2b02
9 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,22 @@
-module(stomp_sup).
-behaviour(supervisor).
-export([start_link/0]).
-export([init/1]).
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
init([]) ->
Procs = [stomp_spec()],
{ok, {{one_for_one, 1, 5}, Procs}}.
%% Private
stomp_spec() ->
#{id => stomp_proc,
start => {stomp_worker, start_link, []},
restart => permanent,
shutdown => 5000,
type => worker,
module => [stomp_worker]}.