From aee66712b8541b6d253312bd91f51b470ba0bbd9 Mon Sep 17 00:00:00 2001 From: Gerlof van Ek Date: Fri, 17 Jan 2025 22:14:19 +0100 Subject: [PATCH] Update pricechart.js --- basicswap/static/js/pricechart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basicswap/static/js/pricechart.js b/basicswap/static/js/pricechart.js index c311bab..d37e533 100644 --- a/basicswap/static/js/pricechart.js +++ b/basicswap/static/js/pricechart.js @@ -126,7 +126,7 @@ const api = { }, fetchCoinGeckoDataXHR: async () => { const cacheKey = 'coinGeckoOneLiner'; - const minRequestInterval = 15000; + const minRequestInterval = 30000; const currentTime = Date.now(); const lastRequestTime = window.lastGeckoRequest || 0; if (currentTime - lastRequestTime < minRequestInterval) {