hellgate/config/sys.config
Andrew Mayorov bb0bae22ef HG-196: Introduce naive payment cash flow adjustments (#88)
* HG-196: Lose containerpilot finally

* HG-196: Switch to keynslug/damsel

* HG-196: Shortcut invoice / payment creation interface

* HG-196: Refactor UserInfo reuse, move access control to the call ctx

* HG-196: Implement payment adjustments

* HG-196: Quickly shut linter up

* HG-196: Fix bad clause

* HG-196: Make a couple of cosmetic fixes

* HG-196: Expand adjustment tests coverage

* HG-196: Constrain complex id construction more

* HG-196: Rename exception macro

* HG-196: Revert occasional verbosity boost

* HG-196: Shortcut getting payment

* HG-196: Make id construction more specific

* HG-196: Update to reflect finally negotiated protocol

* HG-196: Bump to rbkmoney/woody_erlang@2d00bda

* HG-196: Heal occasional error traces during tests

* HG-196: Fix a whoopsie

* HG-196: Fix dialyzer complaints

* HG-196: Bump to rbkmoney/damsel@8747590
2017-06-15 19:57:02 +03:00

43 lines
1.2 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}
]}
]}
]},
{dmt_client, [
{cache_update_interval, 5000}, % milliseconds
{service_urls, #{
'Repository' => <<"http://dominant:8022/v1/domain/repository">>,
'RepositoryClient' => <<"http://dominant:8022/v1/domain/repository_client">>
}}
]},
{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
}
}}
]}
].