diff --git a/src/main/java/com/ghostchu/peerbanhelper/database/Database.java b/src/main/java/com/ghostchu/peerbanhelper/database/Database.java index ec44da356..8ec7e84dd 100644 --- a/src/main/java/com/ghostchu/peerbanhelper/database/Database.java +++ b/src/main/java/com/ghostchu/peerbanhelper/database/Database.java @@ -77,7 +77,7 @@ public void setupDatabase(File file) throws SQLException { stmt.executeUpdate("PRAGMA synchronous = NORMAL"); stmt.executeUpdate("PRAGMA journal_mode = WAL"); stmt.executeUpdate("PRAGMA mmap_size = 50331648"); - stmt.executeUpdate("PRAGMA cache_spill = 100"); + ; try { if (System.currentTimeMillis() - getLastMaintenanceTime() >= Duration.ofDays(Main.getMainConfig().getInt("persist.vacuum-interval-days")).toMillis()) { if (System.getProperty("pbh.disableSQLiteVacuum") == null) {