This commit is contained in:
Daniil Gentili 2017-06-27 09:52:36 +02:00
commit 0d5865cbae

View File

@ -106,7 +106,7 @@ trait AuthKeyHandler
$time = microtime(true); $time = microtime(true);
while (!feof($f)) { while (!feof($f)) {
usleep( usleep(
(int)(($writePeriod - (int) (($writePeriod -
(microtime(true) - $time) // Time it took me to write frames (microtime(true) - $time) // Time it took me to write frames
) * 1000000) ) * 1000000)
); );