Set offers price chart and offers table at 5 min cache.

This commit is contained in:
gerlofvanek
2024-11-22 20:01:35 +01:00
parent ea41c4b41a
commit 4143f1a8ce
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ const CACHE_KEY = 'latestPricesCache';
const MIN_REFRESH_INTERVAL = 60; // 60 sec
const CACHE_DURATION = 10 * 60 * 1000; // 10 minutes
const CACHE_DURATION = 5 * 60 * 1000; // 5 minutes
const FALLBACK_CACHE_DURATION = 24 * 60 * 60 * 1000; // 24 hours
let jsonData = [];