mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 10:20:23 +01:00
[Fix] Increased database clean task start delay
1 second delay is not enough when a patch system has not applied all patches, and some data requiring patching is scheduled for removal. Affected issues: #732
This commit is contained in:
parent
92ce37dda3
commit
93951f1f25
@ -81,7 +81,7 @@ public abstract class DBSystem implements SubSystem {
|
|||||||
try {
|
try {
|
||||||
Benchmark.start("Init Database");
|
Benchmark.start("Init Database");
|
||||||
initDatabase();
|
initDatabase();
|
||||||
db.scheduleClean(1L);
|
db.scheduleClean(20L);
|
||||||
Log.info(locale.get().getString(PluginLang.ENABLED_DATABASE, db.getName()));
|
Log.info(locale.get().getString(PluginLang.ENABLED_DATABASE, db.getName()));
|
||||||
Benchmark.stop("Enable", "Init Database");
|
Benchmark.stop("Enable", "Init Database");
|
||||||
} catch (DBInitException e) {
|
} catch (DBInitException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user