forked from epgsql/pooler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.config
23 lines (22 loc) · 803 Bytes
/
demo.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%% -*- mode: erlang -*-
%% pooler app config example
[
{pooler, [
{pools, [
[{name, "pool1"},
{max_count, 5},
{init_count, 2},
{start_mfa,
{pooled_gs, start_link, [{"p1"}]}}],
[{name, "pool2"},
{max_count, 5},
{init_count, 2},
{start_mfa,
{pooled_gs, start_link, [{"p2"}]}}]
]}
%% if you want to enable metrics, set this to a module with
%% an API conformant to the folsom_metrics module.
%% If this config is missing, then no metrics are sent.
%% {metrics_module, folsom_metrics}
]}
].