Bugfix/disable caching of benchmarks in markets overview if sharing (#4027)
* Disable caching of benchmarks if sharing mode * Update changelog
This commit is contained in:
parent
190bb4b6fb
commit
8fb484af4d
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
|
||||
- Improved the exception handling in the user authorization service
|
||||
- Disabled the caching of the benchmarks in the markets overview if sharing the _Fear & Greed Index_ (market mood) is enabled
|
||||
|
||||
## 2.121.1 - 2024-11-02
|
||||
|
||||
|
@ -437,7 +437,7 @@ export class BenchmarkService {
|
||||
};
|
||||
});
|
||||
|
||||
if (storeInCache) {
|
||||
if (!enableSharing && storeInCache) {
|
||||
const expiration = addHours(new Date(), 2);
|
||||
|
||||
await this.redisCacheService.set(
|
||||
|
Loading…
x
Reference in New Issue
Block a user