mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Reduce default DNS cache ttl.
This commit is contained in:
@@ -68,8 +68,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 = */ 8,
|
||||
/* .poller_threads = */ 2,
|
||||
/* .handler_threads = */ 20,
|
||||
|
||||
Reference in New Issue
Block a user