From: Stephen L Johnson Date: Wed, 14 Nov 2001 17:05:24 +0000 (+0000) Subject: query process' stale data scan was not sleeping between loops X-Git-Tag: spong-2_7_7~31 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2179c60402b484542cb89da7b53aa5c9616b90;p=spong.git query process' stale data scan was not sleeping between loops --- diff --git a/src/spong-server.pl b/src/spong-server.pl index 944c58d..11d78f1 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -6,7 +6,7 @@ # There are one or more update processes that listen for status updates # from client programs. -# $Id: spong-server.pl,v 1.46 2001/11/14 17:02:20 sljohnson Exp $ +# $Id: spong-server.pl,v 1.47 2001/11/14 17:05:24 sljohnson Exp $ use lib "@@LIBDIR@@"; @@ -442,9 +442,9 @@ sub listen_for_queries { } } } - $next_update = $localTimeOut * 60; + $next_update = time() + $localTimeOut * 60; } else { - &debug(time() . " < $next_update"); + &debug(time() . " < $next_update", 9); }