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:
Mike Salvatore 2022-09-07 12:22:55 -04:00
parent 0b27e12b0f
commit 9f5aa5a055
1 changed files with 1 additions and 1 deletions

View File

@ -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