2017-05-12 09:29:13 +00:00
|
|
|
[
|
|
|
|
{dmt_client, [
|
2019-05-07 14:31:16 +00:00
|
|
|
{transport_opts, #{
|
|
|
|
recv_timeout => 60000,
|
|
|
|
connect_timeout => 1000
|
|
|
|
}},
|
2019-12-13 13:26:39 +00:00
|
|
|
{woody_event_handlers, [
|
|
|
|
{scoper_woody_event_handler, #{
|
|
|
|
event_handler_opts => #{
|
|
|
|
formatter_opts => #{
|
|
|
|
max_length => 1000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}}
|
|
|
|
]},
|
2017-05-12 09:29:13 +00:00
|
|
|
{cache_update_interval, 5000}, % milliseconds
|
2018-08-30 10:24:09 +00:00
|
|
|
{cache_update_pull_limit, 10}, % event batch size
|
2017-05-18 09:48:42 +00:00
|
|
|
{max_cache_size, #{
|
|
|
|
elements => 20,
|
|
|
|
memory => 52428800 % 50Mb
|
|
|
|
}},
|
2019-04-25 09:43:46 +00:00
|
|
|
{cache_server_call_timeout, 10000},
|
2017-05-12 09:29:13 +00:00
|
|
|
{service_urls, #{
|
|
|
|
'Repository' => <<"dominant:8022/v1/domain/repository">>,
|
|
|
|
'RepositoryClient' => <<"dominant:8022/v1/domain/repository_client">>
|
|
|
|
}}
|
|
|
|
]}
|
2018-06-19 11:44:35 +00:00
|
|
|
].
|