Agent: Change relay__user_handler.DEFAULT_NEW_CLIENT_TIMEOUT

This commit is contained in:
Mike Salvatore 2022-09-06 14:35:19 -04:00
parent 65f4edc625
commit 017aabe8f7
1 changed files with 3 additions and 1 deletions

View File

@ -5,9 +5,11 @@ from typing import Dict
from egg_timer import EggTimer from egg_timer import EggTimer
from common.common_consts.timeouts import MEDIUM_REQUEST_TIMEOUT
from monkey.common.utils.code_utils import del_key from monkey.common.utils.code_utils import del_key
DEFAULT_NEW_CLIENT_TIMEOUT = 3 # Wait up to 3 seconds for potential new clients to connect # Wait for potential new clients to connect
DEFAULT_NEW_CLIENT_TIMEOUT = 2.5 * MEDIUM_REQUEST_TIMEOUT
@dataclass @dataclass