From f5662f41e73c27cc6e7fd29323c8dddf54dff982 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 4 Sep 2008 04:23:43 +0000 Subject: [PATCH] 2433. [tuning] Set initial timeout to 800ms. --- CHANGES | 6 ++++++ lib/dns/resolver.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 87eea50623..a2d19987c2 100644 --- a/CHANGES +++ b/CHANGES @@ -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] diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 30465ecb67..08bb64591f 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -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.