Skip to content

Commit 643a9f9

Browse files
committed
Fix debug-logger float rounding issue
1 parent 29fa220 commit 643a9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websocket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ async def _backoff_connect(
130130
aiohttp.ClientConnectionError,
131131
):
132132
ws_logger.info(
133-
f"Websocket[{self._idx}] connection problem (sleep: {delay:.3}s)",
133+
f"Websocket[{self._idx}] connection problem (sleep: {round(delay)}s)",
134134
exc_info=True,
135135
)
136136
await asyncio.sleep(delay)

0 commit comments

Comments
 (0)