mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:44:22 +02:00
We found the handbrake ...
This commit is contained in:
parent
2bff8e302a
commit
2b04865cdb
2 changed files with 9 additions and 14 deletions
|
@ -79,7 +79,7 @@ class Lock {
|
|||
if (!$got_lock) {
|
||||
usleep($wait_sec * 1000000);
|
||||
}
|
||||
} while (!$got_lock AND ((time(true) - $start) < $timeout));
|
||||
} while (!$got_lock AND ((time() - $start) < $timeout));
|
||||
|
||||
return $got_lock;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue