chore: Improve exchange_ws debug logging

This commit is contained in:
Matthias
2025-01-04 14:18:25 +01:00
parent 471df70f62
commit 046e1534f3

View File

@@ -147,7 +147,7 @@ class ExchangeWS:
self.klines_last_refresh[(pair, timeframe, candle_type)] = dt_ts()
logger.debug(
f"watch done {pair}, {timeframe}, data {len(data)} "
f"in {dt_ts() - start:.2f}s"
f"in {(dt_ts() - start) / 1000:.3f}s"
)
except ccxt.ExchangeClosedByUser:
logger.debug("Exchange connection closed by user")