use the correct interval when sleeping...

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

View File

@ -112,7 +112,7 @@ while (1) {
my $stop = time();
my $sleep_interval = $interval - ($stop - $start);
sleep($interval) if ($sleep_interval > 0);
sleep($sleep_interval) if ($sleep_interval > 0);
}
sub check_mirrors {