2020-01-22 03:02:07 +01:00
|
|
|
From d0c56d4f2d5aca382f551386c18fea7726c654c6 Mon Sep 17 00:00:00 2001
|
2016-05-13 06:04:49 +02:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
Date: Thu, 12 May 2016 23:02:58 -0500
|
|
|
|
Subject: [PATCH] System property for disabling watchdoge
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/WatchdogThread.java b/src/main/java/org/spigotmc/WatchdogThread.java
|
2020-01-22 03:02:07 +01:00
|
|
|
index d96100061..121c7ff60 100644
|
2016-05-13 06:04:49 +02:00
|
|
|
--- a/src/main/java/org/spigotmc/WatchdogThread.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/WatchdogThread.java
|
2018-11-24 06:28:04 +01:00
|
|
|
@@ -57,7 +57,7 @@ public class WatchdogThread extends Thread
|
2016-05-13 06:04:49 +02:00
|
|
|
while ( !stopping )
|
|
|
|
{
|
|
|
|
//
|
2018-11-24 06:28:04 +01:00
|
|
|
- if ( lastTick != 0 && monotonicMillis() > lastTick + timeoutTime )
|
|
|
|
+ if ( lastTick != 0 && monotonicMillis() > lastTick + timeoutTime && !Boolean.getBoolean("disable.watchdog")) // Paper - Add property to disable
|
2016-05-13 06:04:49 +02:00
|
|
|
{
|
|
|
|
Logger log = Bukkit.getServer().getLogger();
|
2018-11-24 06:28:04 +01:00
|
|
|
log.log( Level.SEVERE, "------------------------------" );
|
2016-05-13 06:04:49 +02:00
|
|
|
--
|
2020-01-22 03:02:07 +01:00
|
|
|
2.25.0.windows.1
|
2016-05-13 06:04:49 +02:00
|
|
|
|