Skip to content

Commit

Permalink
refs #4903 sleep 25 milliseconds not microseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Mar 25, 2014
1 parent 70cd91b commit 77d9bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ArchiveProcessor/SharedSiteIds.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private function runExclusive($closure)

while ($process->isRunning() && $process->getSecondsSinceCreation() < 5) {
// wait max 5 seconds, such an operation should not take longer
usleep(25);
usleep(25 * 1000);
}

$process->startProcess();
Expand Down

0 comments on commit 77d9bd0

Please sign in to comment.