Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5d0879192f
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.534 kB
-module(boss_db_mock_sup).
-behaviour(supervisor).
-export([start_link/0, start_link/1]).
-export([init/1]).
start_link() ->
start_link([]).
start_link(StartArgs) ->
supervisor:start_link({global, ?MODULE}, ?MODULE, StartArgs).
init(StartArgs) ->
{ok, {{one_for_one, 10, 10}, [
{db_mock_controller, {boss_db_mock_controller, start_link, [StartArgs]},
permanent,
2000,
worker,
[boss_db_mock_controller]}
]}}.
Jump to Line
Something went wrong with that request. Please try again.