Async checks each second

This commit is contained in:
Shoghi Cervantes 2013-06-12 19:50:37 +02:00
parent 09a388f8de
commit bfffa35246

View File

@ -108,7 +108,7 @@ class PocketMinecraftServer{
} }
$this->schedule(20 * 15, array($this, "checkTicks"), array(), true); $this->schedule(20 * 15, array($this, "checkTicks"), array(), true);
$this->schedule(20 * 60 * 10, array($this, "checkMemory"), array(), true); $this->schedule(20 * 60 * 10, array($this, "checkMemory"), array(), true);
$this->schedule(20 * 5, array($this, "asyncOperationChecker"), array(), true); $this->schedule(20, array($this, "asyncOperationChecker"), array(), true);
} }
public function checkTicks(){ public function checkTicks(){