mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Prevent too many tasks keep in the queue
Former-commit-id: 62c60f0efab6c6ad1d8cc5027686a84b491ca09f
This commit is contained in:
1 parent
0e72233d36
commit
b7de8a2b9b
1 file changed
+1
-1
@@ -74,7 +74,7 @@ public class DatabaseManager {
|
||||
public void run() {
|
||||
plugin.getDatabaseManager().runTask();
|
||||
}
|
||||
}.runTaskTimerAsynchronously(plugin, 1, 200);
|
||||
}.runTaskTimerAsynchronously(plugin, 1, 10);
|
||||
} catch (IllegalPluginAccessException e) {
|
||||
Util.debugLog("Plugin is disabled but trying create database task, move to Main Thread...");
|
||||
plugin.getDatabaseManager().runTask();
|
||||
|
||||
Reference in new issue
Block a user