Skip to content

Commit

Permalink
New Update
Browse files Browse the repository at this point in the history
1. fix
  • Loading branch information
megoRU committed Feb 3, 2024
1 parent f1339b0 commit c6cdbbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/main/config/BotStart.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ private void startBot() {
}
}

@Scheduled(fixedDelay = 120, initialDelay = 8, timeUnit = TimeUnit.SECONDS)
private void updateStatistics() {
botStatisticsService.updateStatistics(Config.isIsDev(), jda);
}
// @Scheduled(fixedDelay = 120, initialDelay = 8, timeUnit = TimeUnit.SECONDS)
// private void updateStatistics() {
// botStatisticsService.updateStatistics(Config.isIsDev(), jda);
// }

@Scheduled(fixedDelay = 2, initialDelay = 2, timeUnit = TimeUnit.SECONDS)
private void scheduleStartGiveaway() {
Expand Down

0 comments on commit c6cdbbf

Please sign in to comment.