From 0a2df70a6381120a16c6057e94f4c3bbdf46e5ac Mon Sep 17 00:00:00 2001 From: Jason H <51760372+JasonHorkles@users.noreply.github.com> Date: Fri, 12 Apr 2024 23:33:51 -0600 Subject: [PATCH] Increase delay again to reduce overlap --- src/main/java/net/silverstonemc/filecleanerbungee/FCBungee.java | 2 +- src/main/java/net/silverstonemc/filecleanerspigot/FCSpigot.java | 2 +- .../java/net/silverstonemc/filecleanervelocity/FCVelocity.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/silverstonemc/filecleanerbungee/FCBungee.java b/src/main/java/net/silverstonemc/filecleanerbungee/FCBungee.java index 9aae13d..5b163ea 100644 --- a/src/main/java/net/silverstonemc/filecleanerbungee/FCBungee.java +++ b/src/main/java/net/silverstonemc/filecleanerbungee/FCBungee.java @@ -35,7 +35,7 @@ public void onEnable() { if (latest == null) return; if (!current.equals(latest)) new BungeeUpdateChecker(instance).logUpdate(current, latest); - }, 200L, TimeUnit.MILLISECONDS); + }, 500L, TimeUnit.MILLISECONDS); cleanFiles(); } diff --git a/src/main/java/net/silverstonemc/filecleanerspigot/FCSpigot.java b/src/main/java/net/silverstonemc/filecleanerspigot/FCSpigot.java index 5e6a2b1..051606b 100644 --- a/src/main/java/net/silverstonemc/filecleanerspigot/FCSpigot.java +++ b/src/main/java/net/silverstonemc/filecleanerspigot/FCSpigot.java @@ -29,7 +29,7 @@ public void run() { if (latest == null) return; if (!current.equals(latest)) new SpigotUpdateChecker(instance).logUpdate(current, latest); } - }.runTaskLaterAsynchronously(this, 4L); + }.runTaskLaterAsynchronously(this, 10L); cleanFiles(); } diff --git a/src/main/java/net/silverstonemc/filecleanervelocity/FCVelocity.java b/src/main/java/net/silverstonemc/filecleanervelocity/FCVelocity.java index 8006a74..5094b33 100644 --- a/src/main/java/net/silverstonemc/filecleanervelocity/FCVelocity.java +++ b/src/main/java/net/silverstonemc/filecleanervelocity/FCVelocity.java @@ -66,7 +66,7 @@ public void onProxyInitialize(ProxyInitializeEvent event) { if (latest == null) return; if (!current.equals(latest)) new VelocityUpdateChecker(instance).logUpdate(current, latest); - }).delay(200L, TimeUnit.MILLISECONDS).schedule(); + }).delay(500L, TimeUnit.MILLISECONDS).schedule(); } public void loadConfig() {