mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Reduced interval
This commit is contained in:
parent
7266a2a875
commit
fd306bf0a9
2 changed files with 8 additions and 2 deletions
|
@ -86,13 +86,13 @@ public class SQLManager implements AbstractDB {
|
|||
Bukkit.getScheduler().scheduleSyncRepeatingTask(PlotMain.getMain(), new Runnable(){
|
||||
public void run(){
|
||||
try {
|
||||
connection = PlotMain.getMySQL().openConnection();
|
||||
connection = PlotMain.getMySQL().forceConnection();
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}, 500000, 500000);
|
||||
}, 11000, 11000);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue