From 46f7dc4d08af72fe77143821d9dbd4d1569b6d9b Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 6 Feb 2008 10:13:26 +0000 Subject: [PATCH] nicer printout. git-svn-id: file:///svn/unbound/trunk@923 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/worker.c | 8 +++++--- doc/README | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/daemon/worker.c b/daemon/worker.c index 86ae14c50..1df82310c 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -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; } diff --git a/doc/README b/doc/README index 8c2c52243..7e2204eae 100644 --- a/doc/README +++ b/doc/README @@ -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 -- 2.47.2