Update pricechart.js

This commit is contained in:
Gerlof van Ek 2025-01-17 22:14:19 +01:00 committed by GitHub
parent 8de365f9d3
commit aee66712b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {