Agent: Drop DEFAULT_DISCONNECT_TIMEOUT to 2 minutes
Agents should be sending data back to the island very frequently. 2 minutes should be plenty. Consider adding a heartbeat and reducing this timeout further.
This commit is contained in:
parent
0b27e12b0f
commit
9f5aa5a055
|
@ -10,7 +10,7 @@ from common.utils.code_utils import del_key
|
|||
|
||||
# Wait for potential new clients to connect
|
||||
DEFAULT_NEW_CLIENT_TIMEOUT = 2.5 * MEDIUM_REQUEST_TIMEOUT
|
||||
DEFAULT_DISCONNECT_TIMEOUT = 60 * 10 # Wait up to 10 minutes for clients to disconnect
|
||||
DEFAULT_DISCONNECT_TIMEOUT = 60 * 2 # Wait up to 2 minutes for clients to disconnect
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Reference in New Issue