Feature/improve caching of benchmarks (#3530)
* Improve caching * Update changelog
This commit is contained in:
parent
f08b0b570b
commit
dcec3accf0
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Added support for derived currencies in the currency validation
|
- Added support for derived currencies in the currency validation
|
||||||
- Added support for automatic deletion of unused asset profiles when deleting activities
|
- Added support for automatic deletion of unused asset profiles when deleting activities
|
||||||
|
- Improved the caching of the benchmarks in the markets overview (only cache if needed)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ export class BenchmarkService {
|
|||||||
Promise.all(promisesAllTimeHighs),
|
Promise.all(promisesAllTimeHighs),
|
||||||
Promise.all(promisesBenchmarkTrends)
|
Promise.all(promisesBenchmarkTrends)
|
||||||
]);
|
]);
|
||||||
let storeInCache = true;
|
let storeInCache = useCache;
|
||||||
|
|
||||||
benchmarks = allTimeHighs.map((allTimeHigh, index) => {
|
benchmarks = allTimeHighs.map((allTimeHigh, index) => {
|
||||||
const { marketPrice } =
|
const { marketPrice } =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user