Browse Source
Bugfix/disable caching of benchmarks in markets overview if sharing (#4027)
* Disable caching of benchmarks if sharing mode
* Update changelog
pull/4033/head
Thomas Kaul
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/app/benchmark/benchmark.service.ts
|
|
@ -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( |
|
|
|