proxy progress - network connector should give up on connection faster
This commit is contained in:
parent
0944e0ff6d
commit
856a0f0a6e
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue