mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Set offers price chart and offers table at 5 min cache.
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
@@ -28,7 +28,7 @@ const config = {
|
||||
}
|
||||
},
|
||||
showVolume: false,
|
||||
cacheTTL: 10 * 60 * 1000, // 10 minutes in milliseconds
|
||||
cacheTTL: 5 * 60 * 1000, // 5 minutes in milliseconds
|
||||
specialCoins: [''],
|
||||
resolutions: {
|
||||
year: { days: 365, interval: 'month' },
|
||||
|
||||
Reference in New Issue
Block a user