mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12450134566
This commit is contained in:
@@ -33,6 +33,7 @@ use function basename;
|
||||
use function crc32;
|
||||
use function file_exists;
|
||||
use function floor;
|
||||
use function flush;
|
||||
use function microtime;
|
||||
use function mkdir;
|
||||
use function random_bytes;
|
||||
@@ -150,6 +151,10 @@ class FormatConverter{
|
||||
$diff = $time - $thisRound;
|
||||
$thisRound = $time;
|
||||
$this->logger->info("Converted $counter / $count chunks (" . floor($this->chunksPerProgressUpdate / $diff) . " chunks/sec)");
|
||||
flush();
|
||||
}
|
||||
if(($counter % (2 ** 16)) === 0){
|
||||
$new->doGarbageCollection();
|
||||
}
|
||||
}
|
||||
$total = microtime(true) - $start;
|
||||
|
Reference in New Issue
Block a user