From d7315e5adaa71c0ce75536b8fd27e440f2b97e27 Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Fri, 3 Jun 2011 23:02:08 +0000 Subject: [PATCH] reduce polling interval error git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131281 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/poll-mirrors.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/scripts/poll-mirrors.pl b/dev-tools/scripts/poll-mirrors.pl index e75bf8a3831..85d9dc037c3 100755 --- a/dev-tools/scripts/poll-mirrors.pl +++ b/dev-tools/scripts/poll-mirrors.pl @@ -111,7 +111,7 @@ while (1) { last if ($maven_available && 0 == $#apache_mirrors); my $stop = time(); - my $sleep_interval = $interval - 2 * ($stop - $start); + my $sleep_interval = $interval - ($stop - $start); sleep($interval) if ($sleep_interval > 0); }