From 4204bf090c2ce882b2678c5fbe55aa24721635e5 Mon Sep 17 00:00:00 2001 From: Matthew Wolter Date: Sun, 12 Apr 2026 04:51:54 -0700 Subject: [PATCH] =?UTF-8?q?G7:=20F09=20=E2=80=94=20bump=20DEFAULT=5FTIMEOU?= =?UTF-8?q?T=20from=205s=20to=2015s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/meshcore/commands/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshcore/commands/base.py b/src/meshcore/commands/base.py index 9e0f00e..1c0d36e 100644 --- a/src/meshcore/commands/base.py +++ b/src/meshcore/commands/base.py @@ -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