From 364c18b842fa11a30626db37bbc5f2c9633cefeb Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Thu, 10 Jan 2013 21:56:48 -0500 Subject: [PATCH] Leave purge task disabled by default until we can speed it up. --- src/main/java/com/gmail/nossr50/config/Config.java | 2 +- src/main/resources/config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index 7d67d0f9f..cf36bef18 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/src/main/java/com/gmail/nossr50/config/Config.java @@ -35,7 +35,7 @@ public class Config extends ConfigLoader { public int getSaveInterval() { return config.getInt("General.Save_Interval", 10); } public boolean getStatsTrackingEnabled() { return config.getBoolean("General.Stats_Tracking", true); } public boolean getEventCallbackEnabled() { return config.getBoolean("General.Event_Callback", true); } - public int getPurgeInterval() { return config.getInt("General.Purge_Interval", 0); } + public int getPurgeInterval() { return config.getInt("General.Purge_Interval",-1); } /* mySQL */ public boolean getUseMySQL() { return config.getBoolean("MySQL.Enabled", false); } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 452998ff6..5a6a27445 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -20,7 +20,7 @@ General: #Amount of time (in hours) to wait between database purging #To only run at server start, set to 0 #To never run, set to -1 - Purge_Interval: 0 + Purge_Interval: -1 # # Settings for using a mySQL database