Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Upcoming (TBD)
==============

Bug Fixes
---------
* Lower Boundary tunnel stabilization pause to 0.15 sec.


2.14.0 (2026/08/15)
==============

Expand Down
7 changes: 4 additions & 3 deletions mycli/boundary_tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down
Loading