Minor changes

This commit is contained in:
mcrcortex
2025-04-07 20:19:39 +10:00
parent 183746ba4d
commit 63983f6c26
2 changed files with 4 additions and 2 deletions

View File

@@ -311,8 +311,8 @@ public class ModelFactory {
if (allFalse == allTrue) {//If only some sides where self culled then abort if (allFalse == allTrue) {//If only some sides where self culled then abort
cullsSame = false; cullsSame = false;
if (LOGGED_SELF_CULLING_WARNING.add(blockState)) //if (LOGGED_SELF_CULLING_WARNING.add(blockState))
Logger.info("Warning! blockstate: " + blockState + " only culled against its self some of the time"); // Logger.info("Warning! blockstate: " + blockState + " only culled against its self some of the time");
} }
if (allTrue) { if (allTrue) {

View File

@@ -61,6 +61,8 @@ public class RocksDBStorageBackend extends StorageBackend {
); );
final DBOptions options = new DBOptions() final DBOptions options = new DBOptions()
.setAvoidUnnecessaryBlockingIO(true)
.setIncreaseParallelism(2)
.setCreateIfMissing(true) .setCreateIfMissing(true)
.setCreateMissingColumnFamilies(true) .setCreateMissingColumnFamilies(true)
.setMaxTotalWalSize(1024*1024*512);//512 mb max WAL size .setMaxTotalWalSize(1024*1024*512);//512 mb max WAL size