mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-21 20:22:45 +02: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 {
|
||||
Benchmark.start("Init Database");
|
||||
initDatabase();
|
||||
db.scheduleClean(1L);
|
||||
db.scheduleClean(20L);
|
||||
Log.info(locale.get().getString(PluginLang.ENABLED_DATABASE, db.getName()));
|
||||
Benchmark.stop("Enable", "Init Database");
|
||||
} catch (DBInitException e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user