mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
G7: F09 — bump DEFAULT_TIMEOUT from 5s to 15s
Why: 5 seconds is too short for slow-path mesh operations (path-resolving messaging, long binary responses, remote auth). Also the root cause of tests that appeared to "hang" — they were falling through to the 5s timeout because their mock dispatchers don't wire matching responses. Landed as a separate commit so reviewers can drop it independently if they push back. Refs: Forensics report finding F09
This commit is contained in:
parent
0709b9f650
commit
4204bf090c
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def _validate_destination(dst: DestinationType, prefix_length: int = 6) -> bytes
|
|||
|
||||
|
||||
class CommandHandlerBase:
|
||||
DEFAULT_TIMEOUT = 5.0
|
||||
DEFAULT_TIMEOUT = 15.0
|
||||
|
||||
def __init__(self, default_timeout: Optional[float] = None):
|
||||
self._sender_func: Optional[Callable[[bytes], Coroutine[Any, Any, None]]] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue