Set nextTick on start

This commit is contained in:
Shoghi Cervantes 2015-05-06 18:17:35 +02:00
parent fb03df3d06
commit a4769248fb
No known key found for this signature in database
GPG Key ID: 78464DB0A7837F89

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;