reduce polling interval error

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-06-03 23:02:08 +00:00
parent 5c4cf50847
commit d7315e5ada
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}