Skip to content

Commit

Permalink
remove paranoidchecks set to false
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fukushima <[email protected]>
  • Loading branch information
gfukushima committed Jan 31, 2025
1 parent 1e77a7c commit 067b6bd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ private static DBOptions createDBOptions(
.setLogFileTimeToRoll(TIME_TO_ROLL_LOG_FILE)
.setKeepLogFileNum(NUMBER_OF_LOG_FILES_TO_KEEP)
.setEnv(Env.getDefault().setBackgroundThreads(configuration.getBackgroundThreadCount()))
.setStatistics(stats)
.setParanoidChecks(false);
.setStatistics(stats);

// Java docs suggests this if db is under 1GB, nearly impossible atm
if (configuration.optimizeForSmallDb()) {
Expand Down

0 comments on commit 067b6bd

Please sign in to comment.