From 2ed8e1639f1582b8e6c265ef45fad61a4a3a8ff8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 26 Nov 2024 18:17:26 +0100 Subject: [PATCH] chore: move comment to where it belongs --- freqtrade/exchange/exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 5f35e71f9..0108d2ef0 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -199,8 +199,8 @@ class Exchange: # Timestamp of last markets refresh self._last_markets_refresh: int = 0 - # Cache for 10 minutes ... self._cache_lock = Lock() + # Cache for 10 minutes ... self._fetch_tickers_cache: TTLCache = TTLCache(maxsize=2, ttl=60 * 10) # Cache values for 300 to avoid frequent polling of the exchange for prices # Caching only applies to RPC methods, so prices for open trades are still