2433. [tuning] Set initial timeout to 800ms.

This commit is contained in:
Mark Andrews
2008-09-04 04:23:43 +00:00
parent a4037b279b
commit f5662f41e7
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -1,3 +1,5 @@
2433. [tuning] Set initial timeout to 800ms.
2432. [placeholder]
2431. [bug] Acl processing could leak memory. [RT #18323]
@@ -108,6 +110,10 @@
2397. [bug] gssapi_functions had too many elements. [RT #18355]
[bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
default 512. [RT #18344]
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
+3 -3
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.379 2008/08/22 23:47:17 tbox Exp $ */
/* $Id: resolver.c,v 1.380 2008/09/04 04:23:43 marka Exp $ */
/*! \file */
@@ -1121,9 +1121,9 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
* list, and then we do exponential back-off.
*/
if (fctx->restarts < 3)
us = 500000;
us = 800000;
else
us = (500000 << (fctx->restarts - 2));
us = (800000 << (fctx->restarts - 2));
/*
* Double the round-trip time.