Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.485 kb
-module(rabbit_websockets_sup).
-behaviour(supervisor).
-export([start_link/0, init/1]).
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, _Arg = []).
init([]) ->
{ok, Port} = application:get_env(misultin_port),
{ok, {{one_for_one, 3, 10},
[{rabbit_websockets_worker,
{rabbit_websockets_worker, start_link, [Port]},
permanent,
10000,
worker,
[rabbit_websockets_worker]}
]}}.
Jump to Line
Something went wrong with that request. Please try again.