forked from Qortal/qortal
Change HSQLDB repository log fsync() interval from 500ms to 5s
This commit is contained in:
parent
38394de661
commit
51e59f6ab7
@ -951,6 +951,11 @@ public class HSQLDBDatabaseUpdates {
|
|||||||
stmt.execute("ALTER TABLE RewardShares ALTER COLUMN minter SET NOT NULL");
|
stmt.execute("ALTER TABLE RewardShares ALTER COLUMN minter SET NOT NULL");
|
||||||
break;
|
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:
|
default:
|
||||||
// nothing to do
|
// nothing to do
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user