Skip to content

Commit 933840b

Browse files
committed
Update 1.2.47
1 parent 2b4aeec commit 933840b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

common/src/main/java/com/fox2code/foxloader/utils/WatchdogThread.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ public void run() {
3333
WatchdogTimer watchdogTimer = watchdogTimerRef.get();
3434
if (watchdogTimer != null && watchdogTimer.isEnabled()) {
3535
long computingFor = watchdogTimer.getComputingFor();
36-
if (computingFor / T1_SECONDS == 10L) {
36+
if (computingFor / T1_SECONDS == 20L) {
3737
needDump = true;
3838
if (watchdogTimer.isEssential()) {
3939
exit = true;
4040
}
41-
} else if (computingFor / T1_SECONDS == 5L) {
41+
} else if (computingFor / T1_SECONDS == 10L) {
4242
needDump = true;
4343
}
4444
}

common/src/main/java/com/fox2code/foxloader/utils/WatchdogTimer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void heartbeat() {
2727
}
2828

2929
public void megaHeartbeat() {
30-
this.megaLastCheck = System.currentTimeMillis() + 10000L;
30+
this.megaLastCheck = System.currentTimeMillis() + 20000L;
3131
}
3232

3333
public boolean isEnabled() {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.parallel=true
33
org.gradle.jvmargs=-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8
44

55
# FoxLoader properties
6-
foxloader.version=1.2.46
6+
foxloader.version=1.2.47
77
foxloader.lastReIndevTransformerChanges=1.2.39
88
# https://www.jitpack.io/#com.fox2code/FoxLoader
99

0 commit comments

Comments
 (0)