mirror of https://github.com/apache/lucene.git
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:
parent
d7315e5ada
commit
c1fe16763f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue