mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-06-28 11:00:28 +12:00
[stage]
This commit is contained in:
parent
49755b2785
commit
4afa34378b
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue