Skip to content
Open
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
4 changes: 2 additions & 2 deletions coworker/connectors/relay_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ async def wait_dispatched(self, at_least: int, timeout: float = 2.0) -> None:
)
try:
await asyncio.wait_for(self._progress.wait(), timeout=remaining)
except asyncio.TimeoutError:
except asyncio.TimeoutError as exc:
raise TimeoutError(
f"only {self._dispatched} frames dispatched (< {at_least})"
)
) from exc

# -- default transport ---------------------------------------------------
def _default_transport_factory(self) -> RelayTransport:
Expand Down