diff --git a/java_console/io/src/main/java/com/rusefi/proxy/NetworkConnectorContext.java b/java_console/io/src/main/java/com/rusefi/proxy/NetworkConnectorContext.java index 5336f4758c..a96897c97d 100644 --- a/java_console/io/src/main/java/com/rusefi/proxy/NetworkConnectorContext.java +++ b/java_console/io/src/main/java/com/rusefi/proxy/NetworkConnectorContext.java @@ -1,7 +1,7 @@ package com.rusefi.proxy; import com.rusefi.Timeouts; -import com.rusefi.io.tcp.BinaryProtocolProxy; +import com.rusefi.proxy.client.LocalApplicationProxyContext; import com.rusefi.tools.online.ProxyClient; public class NetworkConnectorContext { @@ -13,8 +13,13 @@ public class NetworkConnectorContext { return Timeouts.CMD_TIMEOUT; } + /** + * Application is supposed to be constantly poking the controller one way or another + * + * @see LocalApplicationProxyContext#gaugePokingPeriod() + */ public int consecutivePacketTimeout() { - return BinaryProtocolProxy.USER_IO_TIMEOUT; + return 30 * Timeouts.SECOND; } public int serverPortForControllers() {