Watchdog Thread.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
29a8c7f4b3
commit
496995ccaa
6 changed files with 328 additions and 30 deletions
|
@ -190,6 +190,15 @@
|
|||
}
|
||||
|
||||
if (dedicatedserverproperties.enableQuery) {
|
||||
@@ -197,7 +276,7 @@
|
||||
this.rconThread = RconThread.create(this);
|
||||
}
|
||||
|
||||
- if (this.getMaxTickLength() > 0L) {
|
||||
+ if (false && this.getMaxTickLength() > 0L) { // Spigot - disable
|
||||
Thread thread1 = new Thread(new ServerWatchdog(this));
|
||||
|
||||
thread1.setUncaughtExceptionHandler(new DefaultUncaughtExceptionHandlerWithName(DedicatedServer.LOGGER));
|
||||
@@ -293,6 +372,7 @@
|
||||
this.queryThreadGs4.stop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue