removed advanced cache

This commit is contained in:
GameHerobrine 2024-01-09 05:28:24 +03:00
parent 1bbe5c7582
commit 80d78faecd
5 changed files with 3 additions and 63 deletions

View file

@ -439,7 +439,6 @@ class PocketMinecraftServer{
}
$this->schedule(20 * 15, [$this, "checkTicks"], [], true);
$this->schedule(20 * 60, [$this, "checkMemory"], [], true);
$this->schedule(20 * 45, "Cache::cleanup", [], true);
$this->schedule(20, [$this, "asyncOperationChecker"], [], true);
}
@ -488,7 +487,7 @@ class PocketMinecraftServer{
} elseif($this->tick() > 0){
$lastLoop = 0;
} else{
++ $lastLoop;
++$lastLoop;
if($lastLoop < 16){
usleep(1);
} elseif($lastLoop < 128){