mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-22 10:34:34 +00:00
Update pricechart.js
This commit is contained in:
parent
8de365f9d3
commit
aee66712b8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue