Leave purge task disabled by default until we can speed it up.

This commit is contained in:
gmcferrin 2013-01-10 21:56:48 -05:00
parent e20098d462
commit 364c18b842
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public class Config extends ConfigLoader {
public int getSaveInterval() { return config.getInt("General.Save_Interval", 10); } public int getSaveInterval() { return config.getInt("General.Save_Interval", 10); }
public boolean getStatsTrackingEnabled() { return config.getBoolean("General.Stats_Tracking", true); } public boolean getStatsTrackingEnabled() { return config.getBoolean("General.Stats_Tracking", true); }
public boolean getEventCallbackEnabled() { return config.getBoolean("General.Event_Callback", 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 */ /* mySQL */
public boolean getUseMySQL() { return config.getBoolean("MySQL.Enabled", false); } public boolean getUseMySQL() { return config.getBoolean("MySQL.Enabled", false); }

View File

@ -20,7 +20,7 @@ General:
#Amount of time (in hours) to wait between database purging #Amount of time (in hours) to wait between database purging
#To only run at server start, set to 0 #To only run at server start, set to 0
#To never run, set to -1 #To never run, set to -1
Purge_Interval: 0 Purge_Interval: -1
# #
# Settings for using a mySQL database # Settings for using a mySQL database