mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-07 20:09:12 +00:00
BUG/MINOR: dns: wrong time unit for some DNS default parameters
Madison May reported that the timeout applied by the default configuration is inproperly set up. This patch fix this: - hold valid default to 10s - timeout retry default to 1s
This commit is contained in:
parent
91bd337d90
commit
4c5490ab9c
@ -2187,8 +2187,8 @@ int cfg_parse_resolvers(const char *file, int linenum, char **args, int kwm)
|
||||
curr_resolvers->id = strdup(args[1]);
|
||||
curr_resolvers->query_ids = EB_ROOT;
|
||||
/* default hold period for valid is 10s */
|
||||
curr_resolvers->hold.valid = 10;
|
||||
curr_resolvers->timeout.retry = 1;
|
||||
curr_resolvers->hold.valid = 10000;
|
||||
curr_resolvers->timeout.retry = 1000;
|
||||
curr_resolvers->resolve_retries = 3;
|
||||
LIST_INIT(&curr_resolvers->nameserver_list);
|
||||
LIST_INIT(&curr_resolvers->curr_resolution);
|
||||
|
Loading…
Reference in New Issue
Block a user