mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 09:15:18 +00:00
e88c4b8e74
* HG-173: changed party interface to claims (#79) * DC-45: implemented dirty version of event batching (#92) * DC-45: implemented dirty version of event batching * DC-45: Make invoice machines emit changes within single event * HG-229: Embrace new events hierarchy (#94) * HG-229: Bump to rbkmoney/damsel@7bb67fc * HG-229: Embrace new events hierarchy * HG-229: Fix long time broken typespecs * HG-229: Employ session results + further decouple sessions from payment * HG-229: Better classify payment errors * HG-229: Implement model splitting * HG-229: Stuff location with something meaningful * HG-229: Overcome a couple of rebase related issues * HG-229: Drop event filtering facilities altogether * HG-229: Make result more explicit * HG-229: Lessen verbosity on cleaning up * HG-192: Handle missing shop properly (#95) * HG-173: fixed some shop-related asserts (#97) * HG-219: Bump to upstream rbkmoney/damsel@b665c89
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
[
|
|
{lager, [
|
|
{error_logger_hwm, 600},
|
|
{log_root, "/var/log/hellgate"},
|
|
{crash_log, "crash.log"},
|
|
{handlers, [
|
|
{lager_file_backend, [
|
|
{file, "console.json"},
|
|
{level, debug},
|
|
{formatter, lager_logstash_formatter}
|
|
]}
|
|
]}
|
|
]},
|
|
|
|
{hellgate, [
|
|
{ip, "::"},
|
|
{port, 8022},
|
|
{net_opts, [
|
|
% Bump keepalive timeout up to a minute
|
|
{timeout, 60000}
|
|
]},
|
|
{service_urls, #{
|
|
'Automaton' => <<"http://machinegun:8022/v1/automaton">>,
|
|
'EventSink' => <<"http://machinegun:8022/v1/event_sink">>,
|
|
'Accounter' => <<"http://shumway:8022/accounter">>
|
|
}},
|
|
{proxy_opts, #{
|
|
transport_opts => #{
|
|
connect_timeout => 1000,
|
|
recv_timeout => 40000
|
|
}
|
|
}}
|
|
]},
|
|
|
|
{dmt_client, [
|
|
{cache_update_interval, 5000}, % milliseconds
|
|
{max_cache_size, #{
|
|
elements => 20,
|
|
memory => 52428800 % 50Mb
|
|
}},
|
|
{service_urls, #{
|
|
'Repository' => <<"dominant:8022/v1/domain/repository">>,
|
|
'RepositoryClient' => <<"dominant:8022/v1/domain/repository_client">>
|
|
}}
|
|
]}
|
|
].
|