Merge pull request #75 from cbhaley/master

Increase timeout for detecting disconnected clients
This commit is contained in:
Kovid Goyal 2013-09-02 06:07:32 -07:00
commit 7e54dff245

View File

@ -213,7 +213,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
# Some network protocol constants
BASE_PACKET_LEN = 4096
PROTOCOL_VERSION = 1
MAX_CLIENT_COMM_TIMEOUT = 60.0 # Wait at most N seconds for an answer
MAX_CLIENT_COMM_TIMEOUT = 300.0 # Wait at most N seconds for an answer
MAX_UNSUCCESSFUL_CONNECTS = 5
SEND_NOOP_EVERY_NTH_PROBE = 5