mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Increase timeout for detecting disconnected clients to avoid problems when there are many thousands of books on the device.
This commit is contained in:
parent
e7c146d3cb
commit
4dd983542e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user