From dc2179c60402b484542cb89da7b53aa5c9616b90 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 14 Nov 2001 17:05:24 +0000 Subject: [PATCH] query process' stale data scan was not sleeping between loops --- src/spong-server.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.30.2