mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 23:49:09 -04:00
[stage]
This commit is contained in:
@@ -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