diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index cb7e5934..2bfead8d 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -310,6 +310,7 @@ public static Process launch( try (ServerSocket socket = new ServerSocket()) { socket.setReuseAddress(true); + socket.setSoTimeout(30000); socket.bind(new InetSocketAddress(SOCKET_HOST, SOCKET_PORT)); Socket client = socket.accept(); if (process == null) {