Skip to content

Commit

Permalink
increase initial backup delay
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Nov 27, 2023
1 parent 491df08 commit 9165582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/vc/config/GuildConfigManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public GuildConfigManager(final GuildConfigDatabase guildConfigDatabase,
this.gatewayDiscordClient = gatewayDiscordClient;
this.guildConfigMap = new ConcurrentHashMap<>();
this.guildConfigDatabase = guildConfigDatabase;
this.scheduledExecutorService.scheduleAtFixedRate(this::writeAllGuildConfigs, 20, 60 * 24, TimeUnit.MINUTES);
this.scheduledExecutorService.scheduleAtFixedRate(this::writeAllGuildConfigs, 1, 1, TimeUnit.DAYS);
}

public void loadGuild(final GuildFields guildFields) {
Expand Down

0 comments on commit 9165582

Please sign in to comment.