Skip to content

Commit

Permalink
コンフィグのセーブを非同期にして負荷削減
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarri6343 committed Sep 1, 2023
1 parent 7968be2 commit 12136f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void init() {
public void run() {
TradeCore.getInstance().getConfigService().save();
}
}.runTaskTimer(TradeCore.getInstance(), 0, 3600);
}.runTaskTimerAsynchronously(TradeCore.getInstance(), 0, 3600);

//10分に1回プレイチケット配布
new BukkitRunnable() {
Expand Down

0 comments on commit 12136f1

Please sign in to comment.