chore: add comment to clarify usage of retrier
This commit is contained in:
@@ -96,6 +96,7 @@ class ExchangeWS:
|
|||||||
return deepcopy(self._ccxt_object.ohlcvs.get(pair, {}).get(timeframe, []))
|
return deepcopy(self._ccxt_object.ohlcvs.get(pair, {}).get(timeframe, []))
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
# Capture runtime errors and retry
|
# Capture runtime errors and retry
|
||||||
|
# TemporaryError does not cause backoff - so we're essentially retrying immediately
|
||||||
raise TemporaryError(f"Error deepcopying: {e}") from e
|
raise TemporaryError(f"Error deepcopying: {e}") from e
|
||||||
|
|
||||||
def cleanup_expired(self) -> None:
|
def cleanup_expired(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user