]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
nicer printout.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 6 Feb 2008 10:13:26 +0000 (10:13 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 6 Feb 2008 10:13:26 +0000 (10:13 +0000)
git-svn-id: file:///svn/unbound/trunk@923 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c
doc/README

index 86ae14c50b951fb91fc0a951136586c4c0174b6e..1df82310c5672f53710474d90df4cb57316529b5 100644 (file)
@@ -1026,9 +1026,11 @@ worker_init(struct worker* worker, struct config_file *cfg,
        }
        worker_mem_report(worker, NULL);
        /* if statistics enabled start timer */
-       verbose(VERB_ALGO, "set statistics interval %d secs", 
-               worker->env.cfg->stat_interval);
-       worker_restart_timer(worker);
+       if(worker->env.cfg->stat_interval > 0) {
+               verbose(VERB_ALGO, "set statistics interval %d secs", 
+                       worker->env.cfg->stat_interval);
+               worker_restart_timer(worker);
+       }
        return 1;
 }
 
index 8c2c522434816e69c56ec92a0e0311f906d29e45..7e2204eae3c0134dc5e44c8e759976438706e433 100644 (file)
@@ -54,6 +54,8 @@ o If libevent is older (before 1.3c), unbound will exit instead of reload
   on sighup. On a restart 'did not exit gracefully last time' warning is 
   printed. Perform ./configure --with-libevent=no or update libevent, rerun 
   configure and recompile unbound to make sighup work correctly.
+  It is strongly suggested to use the latest version of libevent (1.4 or more)
+  on Solaris, because of fixes in the solaris event port code in libevent.
 o If you receive no answers deploying unbound on a private network.
   Check that the zone you configure as a stub zone is correct, listing working 
   ip-addresses. Check that the NS data in the zone, those hostnames, are