mirror of
https://github.com/sogou/workflow.git
synced 2026-10-17 04:31:07 +08:00
Reduce default DNS cache ttl.
This commit is contained in:
@@ -67,8 +67,8 @@ static constexpr struct WFGlobalSettings GLOBAL_SETTINGS_DEFAULT =
|
||||
{
|
||||
.endpoint_params = ENDPOINT_PARAMS_DEFAULT,
|
||||
.dns_server_params = ENDPOINT_PARAMS_DEFAULT,
|
||||
.dns_ttl_default = 12 * 3600,
|
||||
.dns_ttl_min = 180,
|
||||
.dns_ttl_default = 3600,
|
||||
.dns_ttl_min = 60,
|
||||
.dns_threads = 4,
|
||||
.poller_threads = 4,
|
||||
.handler_threads = 20,
|
||||
|
||||
Reference in New Issue
Block a user