mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 16:49:53 +00:00
Async checks each second
This commit is contained in:
parent
09a388f8de
commit
bfffa35246
@ -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(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user