mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-09 08:31:27 +00:00
[stage]
This commit is contained in:
1 parent
49755b2785
commit
4afa34378b
2 files changed
+2
-2
No files matched your search
@@ -243,7 +243,7 @@ public abstract class OperationMode {
|
||||
// Run a timer to always exit after some time in case we get stuck
|
||||
if (inShutdownHook) {
|
||||
ThreadHelper.runAsync(() -> {
|
||||
ThreadHelper.sleep(15000);
|
||||
ThreadHelper.sleep(25000);
|
||||
TrackEvent.info("Shutdown took too long. Halting ...");
|
||||
OperationMode.halt(1);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user