From 2869504d83e84a91dbc822e8a243e837f5c0374d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 14 Nov 2001 01:31:12 +0000 Subject: [PATCH] 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds. [RT #2046] --- CHANGES | 3 +++ lib/dns/resolver.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 7de8b226d2..245e4799a5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1122. [tuning] Resolution timeout reduced from 90 to 30 seconds. + [RT #2046] + 1121. [bug] The server could attempt to access a NULL zone table if shut down while resolving. [RT #1587, #2054] diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 8949c6874c..36cc77fdcd 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.231 2001/11/14 01:01:28 gson Exp $ */ +/* $Id: resolver.c,v 1.232 2001/11/14 01:31:12 gson Exp $ */ #include @@ -2219,7 +2219,7 @@ fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, /* * Compute an expiration time for the entire fetch. */ - isc_interval_set(&interval, 90, 0); /* XXXRTH constant */ + isc_interval_set(&interval, 30, 0); /* XXXRTH constant */ iresult = isc_time_nowplusinterval(&fctx->expires, &interval); if (iresult != ISC_R_SUCCESS) { UNEXPECTED_ERROR(__FILE__, __LINE__,