dominant/config/sys.config

61 lines
1.6 KiB
Plaintext
Raw Normal View History

[
{kernel, [
{logger_sasl_compatible, false},
{logger_level, info},
{logger, [
{handler, default, logger_std_h, #{
config => #{
type => file,
file => "/var/log/dominant/console.json"
},
formatter => {logger_logstash_formatter, #{}}
}}
]}
]},
{dmt_api, [
{repository, dmt_api_repository_v4},
{migration, #{
timeout => 360,
limit => 20
}},
2016-11-23 11:52:43 +00:00
{ip, "::"},
{port, 8022},
{default_woody_handling_timeout, 30000},
{transport_opts, #{
max_connections => 1024
}},
{protocol_opts, #{
% http keep alive timeout in ms
request_timeout => 60000,
% Should be greater than any other timeouts
idle_timeout => infinity
}},
2018-04-12 14:27:59 +00:00
{max_cache_size, 52428800}, % 50Mb
{health_checkers, [
{erl_health, disk , ["/", 99] },
{erl_health, cg_memory, [99] },
{erl_health, service , [<<"dominant">>]}
]},
{services, #{
automaton => #{
url => "http://machinegun:8022/v1/automaton",
transport_opts => #{
pool => woody_automaton,
timeout => 1000,
max_connections => 1024
}
}
}}
]},
{os_mon, [
% for better compatibility with busybox coreutils
{disksup_posix_only, true}
]},
{scoper, [
{storage, scoper_storage_logger}
]}
].