2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.

[RT #2046]
This commit is contained in:
Andreas Gustafsson
2001-11-14 01:31:12 +00:00
parent ce6caa0759
commit 2869504d83
2 changed files with 5 additions and 2 deletions

View File

@@ -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]

View File

@@ -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 <config.h>
@@ -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__,