mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Always run exit timer
This commit is contained in:
parent
ce32613dd4
commit
b061ab7a34
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ public abstract class OperationMode {
|
|||
}
|
||||
|
||||
// Run a timer to always exit after some time in case we get stuck
|
||||
if (inShutdownHook) {
|
||||
if (!hasError) {
|
||||
ThreadHelper.runAsync(() -> {
|
||||
ThreadHelper.sleep(25000);
|
||||
TrackEvent.info("Shutdown took too long. Halting ...");
|
||||
|
|
Loading…
Reference in a new issue