mirror of
https://github.com/valitydev/dmt-client.git
synced 2024-11-06 01:15:22 +00:00
d8a4f490d4
* FIN-31: Bumps valitydev/damsel@ab292d9 and valitydev/dmt-core@19d8f57 * Adds creation timestamp support for cached snapshot building * Temporarily disables codecov report upload; fixes protocol and dialyzer warnings * Fixes linting after including prometheus as a dependency
33 lines
932 B
Plaintext
33 lines
932 B
Plaintext
[
|
|
{dmt_client, [
|
|
{transport_opts, #{
|
|
recv_timeout => 60000,
|
|
connect_timeout => 1000
|
|
}},
|
|
{woody_event_handlers, [
|
|
{scoper_woody_event_handler, #{
|
|
event_handler_opts => #{
|
|
formatter_opts => #{
|
|
max_length => 1000
|
|
}
|
|
}
|
|
}}
|
|
]},
|
|
% milliseconds
|
|
{cache_update_interval, 5000},
|
|
% event batch size
|
|
{cache_update_pull_limit, 10},
|
|
{use_cached_last_version, false},
|
|
{max_cache_size, #{
|
|
elements => 20,
|
|
% 50Mb
|
|
memory => 52428800
|
|
}},
|
|
{cache_server_call_timeout, 10000},
|
|
{service_urls, #{
|
|
'Repository' => <<"dominant:8022/v1/domain/repository">>,
|
|
'RepositoryClient' => <<"dominant:8022/v1/domain/repository_client">>
|
|
}}
|
|
]}
|
|
].
|