From 14505c84009cf3f0347309a8dd7e58bbee810ed4 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Fri, 25 Mar 2016 19:47:54 -0500 Subject: [PATCH] rdns: adjust timeout values --- authd/providers/rdns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/providers/rdns.c b/authd/providers/rdns.c index ff3768d3..96bcea14 100644 --- a/authd/providers/rdns.c +++ b/authd/providers/rdns.c @@ -54,12 +54,12 @@ static void dns_answer_callback(const char *res, bool status, query_type type, v static struct ev_entry *timeout_ev; static EVH timeout_dns_queries_event; -static int rdns_timeout = 30; +static int rdns_timeout = 15; bool client_dns_init(void) { - timeout_ev = rb_event_addish("timeout_dns_queries_event", timeout_dns_queries_event, NULL, 5); + timeout_ev = rb_event_addish("timeout_dns_queries_event", timeout_dns_queries_event, NULL, 1); return (timeout_ev != NULL); }