Fix debug-logger float rounding issue
This commit is contained in:
1 parent
29fa220238
commit
643a9f9300
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@ class Websocket:
|
|||||||
aiohttp.ClientConnectionError,
|
aiohttp.ClientConnectionError,
|
||||||
):
|
):
|
||||||
ws_logger.info(
|
ws_logger.info(
|
||||||
f"Websocket[{self._idx}] connection problem (sleep: {delay:.3}s)",
|
f"Websocket[{self._idx}] connection problem (sleep: {round(delay)}s)",
|
||||||
exc_info=True,
|
exc_info=True,
|
||||||
)
|
)
|
||||||
await asyncio.sleep(delay)
|
await asyncio.sleep(delay)
|
||||||
|
|||||||
Reference in new issue
Block a user