diff --git a/common/src/main/java/com/fox2code/foxloader/utils/WatchdogThread.java b/common/src/main/java/com/fox2code/foxloader/utils/WatchdogThread.java index 90d57aa..79ff9de 100644 --- a/common/src/main/java/com/fox2code/foxloader/utils/WatchdogThread.java +++ b/common/src/main/java/com/fox2code/foxloader/utils/WatchdogThread.java @@ -33,12 +33,12 @@ public void run() { WatchdogTimer watchdogTimer = watchdogTimerRef.get(); if (watchdogTimer != null && watchdogTimer.isEnabled()) { long computingFor = watchdogTimer.getComputingFor(); - if (computingFor / T1_SECONDS == 10L) { + if (computingFor / T1_SECONDS == 20L) { needDump = true; if (watchdogTimer.isEssential()) { exit = true; } - } else if (computingFor / T1_SECONDS == 5L) { + } else if (computingFor / T1_SECONDS == 10L) { needDump = true; } } diff --git a/common/src/main/java/com/fox2code/foxloader/utils/WatchdogTimer.java b/common/src/main/java/com/fox2code/foxloader/utils/WatchdogTimer.java index ad46061..0b57940 100644 --- a/common/src/main/java/com/fox2code/foxloader/utils/WatchdogTimer.java +++ b/common/src/main/java/com/fox2code/foxloader/utils/WatchdogTimer.java @@ -27,7 +27,7 @@ public void heartbeat() { } public void megaHeartbeat() { - this.megaLastCheck = System.currentTimeMillis() + 10000L; + this.megaLastCheck = System.currentTimeMillis() + 20000L; } public boolean isEnabled() { diff --git a/gradle.properties b/gradle.properties index 472dece..b972c1a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.parallel=true org.gradle.jvmargs=-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8 # FoxLoader properties -foxloader.version=1.2.46 +foxloader.version=1.2.47 foxloader.lastReIndevTransformerChanges=1.2.39 # https://www.jitpack.io/#com.fox2code/FoxLoader