mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Revert "Add debug property to disable the watchdog"
This reverts commit d1c470756f962801e7d3bc19bee9440f33a4706e.
This commit is contained in:
parent
139c4ccf0d
commit
da5cd0a63e
1 changed files with 0 additions and 5 deletions
|
@ -59,11 +59,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
this.restart = restart;
|
this.restart = restart;
|
||||||
}
|
}
|
||||||
@@ -0,0 +0,0 @@ public class WatchdogThread extends Thread
|
@@ -0,0 +0,0 @@ public class WatchdogThread extends Thread
|
||||||
while ( !stopping )
|
|
||||||
{
|
|
||||||
//
|
|
||||||
- if ( lastTick != 0 && System.currentTimeMillis() > lastTick + timeoutTime )
|
|
||||||
+ if ( !Boolean.getBoolean("disable.watchdog") && lastTick != 0 && System.currentTimeMillis() > lastTick + timeoutTime ) // Paper - Add property to disable
|
|
||||||
{
|
{
|
||||||
Logger log = Bukkit.getServer().getLogger();
|
Logger log = Bukkit.getServer().getLogger();
|
||||||
log.log( Level.SEVERE, "The server has stopped responding!" );
|
log.log( Level.SEVERE, "The server has stopped responding!" );
|
||||||
|
|
Loading…
Reference in a new issue