Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.363 kB
%% Poolboy - A hunky Erlang worker pool factory
-module(poolboy_sup).
-behaviour(supervisor).
-export([start_link/2, init/1]).
start_link(Mod, Args) ->
supervisor:start_link(?MODULE, {Mod, Args}).
init({Mod, Args}) ->
{ok, {{simple_one_for_one, 0, 1},
[{Mod, {Mod, start_link, [Args]},
temporary, brutal_kill, worker, [Mod]}]}}.
Jump to Line
Something went wrong with that request. Please try again.