mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 09:06:46 +01:00
Leave purge task disabled by default until we can speed it up.
This commit is contained in:
parent
e20098d462
commit
364c18b842
@ -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); }
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user