diff --git a/changelog.md b/changelog.md index 58a4cc631..a696e925e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +Upcoming (TBD) +============== + +Bug Fixes +--------- +* Lower Boundary tunnel stabilization pause to 0.15 sec. + + 2.14.0 (2026/08/15) ============== diff --git a/mycli/boundary_tunnel.py b/mycli/boundary_tunnel.py index 5edb1e7f6..daef7c014 100644 --- a/mycli/boundary_tunnel.py +++ b/mycli/boundary_tunnel.py @@ -15,7 +15,10 @@ from mycli.compat import WIN -TUNNEL_STABILIZATION_PAUSE = 0.25 +# This should be as small as possible and yet still +# ward off SSL errors at connection time. We know +# that 0.1 is too small on at least one Mac. +TUNNEL_STABILIZATION_PAUSE = 0.15 class BoundaryTunnelError(RuntimeError): @@ -148,8 +151,6 @@ def start(self, *, show_expiration_warning: bool = True) -> None: self._raise_if_failed() if self._is_listening(): self._ready.set() - # todo: if this works to ward off SSL errors at connection time, - # try making the pause as small as possible time.sleep(TUNNEL_STABILIZATION_PAUSE) return time.sleep(0.05)