Implemented partial chunk saving on LevelDB (#3078)

This commit is contained in:
Dylan T
2019-08-07 17:39:36 +01:00
committed by GitHub
parent 9598af7683
commit c533f6a0bd
6 changed files with 79 additions and 48 deletions

View File

@@ -135,6 +135,7 @@ class FormatConverter{
$thisRound = $start;
static $reportInterval = 256;
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $chunk){
$chunk->setDirty();
$new->saveChunk($chunk);
$counter++;
if(($counter % $reportInterval) === 0){