mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
removed advanced cache
This commit is contained in:
parent
1bbe5c7582
commit
80d78faecd
5 changed files with 3 additions and 63 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue