X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=e3001112979257da96a5ceca6cede76469d6416f;hp=cb52a1c391570406fcf06a3b9fedaf0b7ced8b75;hb=6152ea7da6f647b5c106593521401c0bc228d511;hpb=bff38bea6823ed6989f4a52299eb85993eeac363 diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index cb52a1c3..e3001112 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -1145,7 +1145,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { // Idle so long with found function if (function_exists('time_sleep_until')) { // Get current time and add idle time - $sleepUntil = $this->getMilliTime() + $milliSeconds; + $sleepUntil = $this->getMilliTime() + $milliSeconds / 1000; // New PHP 5.1.0 function found $hasSlept = time_sleep_until($sleepUntil);