dominant/config/sys.config
Evgeny Levenets 1ab46ce8e2
DC-86: change storage method to thrift_binary (#77)
* DC-86: change storage method to thrift_binary

* migration logic incoming

* bump build_utils

* add test for migration & rework handlers

* use migration machine

* remove get_events in repository_v3

* postreview fix 01

remove timer config
test fix

* lager format minifix

* idempotent retry for commit in v4

* use 503 instead of 500 in commit handler

* don't check cached snapshot version on commit

* remove unnecessary try-catch
2018-07-06 16:33:49 +03:00

41 lines
1013 B
Plaintext

[
{dmt_api, [
{repository, dmt_api_repository_v4},
{migration, #{
timeout => 360,
limit => 20
}},
{automaton_service_url, "http://machinegun:8022/v1/automaton"},
{ip, "::"},
{port, 8022},
{net_opts, [
% Bump keepalive timeout up to a minute
{timeout, 60000}
]},
{max_cache_size, 52428800}, % 50Mb
{health_checkers, [
{erl_health, disk , ["/", 99] },
{erl_health, cg_memory, [99] },
{erl_health, service , [<<"dominant">>]}
]}
]},
{scoper, [
{storage, scoper_storage_lager}
]},
{lager, [
{error_logger_redirect, true},
{log_root, "/var/log/dominant"},
{handlers, [
{lager_file_backend, [
{file, "console.json"},
{level, debug},
{formatter, lager_logstash_formatter}
]}
]}
]}
].