Change HSQLDB repository log fsync() interval from 500ms to 5s

This commit is contained in:
catbref 2020-03-24 09:23:17 +00:00
parent 38394de661
commit 51e59f6ab7

View File

@ -951,6 +951,11 @@ public class HSQLDBDatabaseUpdates {
stmt.execute("ALTER TABLE RewardShares ALTER COLUMN minter SET NOT NULL");
break;
case 68:
// Slow down log fsync() calls from every 500ms to reduce I/O load
stmt.execute("SET FILES WRITE DELAY 5"); // only fsync() every 5 seconds
break;
default:
// nothing to do
return false;