Packages
partisan
0.2.3
5.0.3
5.0.2
5.0.1
5.0.0
5.0.0-rc.16
5.0.0-rc.8
5.0.0-rc.2
5.0.0-rc.1
5.0.0-beta.24
5.0.0-beta.21
5.0.0-beta.20
5.0.0-beta.18
5.0.0-beta.17
5.0.0-beta.16
5.0.0-beta.15
5.0.0-beta.14
5.0.0-beta.13
4.1.0
3.0.0
2.1.0
2.0.0
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.1
Partisan is a scalable and flexible, TCP-based membership system and distribution layer for the BEAM.
Current section
Files
Jump to
Current section
Files
src/partisan_pool_sup.erl
-module(partisan_pool_sup).
-behaviour(supervisor).
%% public api
-export([start_link/0]).
%% supervisor api
-export([init/1]).
%% public api
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%% supervisor api
init([]) ->
Flags = #{strategy => rest_for_one},
Pool = #{id => partisan_pool,
start => {partisan_pool, start_link, []}},
Socket = #{id => partisan_socket,
start => {partisan_socket, start_link, []}},
{ok, {Flags, [Pool, Socket]}}.