Set nextTick on start

This commit is contained in:
Shoghi Cervantes
2015-05-06 18:17:35 +02:00
parent fb03df3d06
commit a4769248fb

View File

@@ -2184,6 +2184,7 @@ class Server{
}
private function tickProcessor(){
$this->nextTick = microtime(true);
while($this->isRunning){
$this->tick();
$next = $this->nextTick - 0.001;