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
parent
commit
8fb484af4d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/benchmark/benchmark.service.ts

1
CHANGELOG.md

@ -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

2
apps/api/src/app/benchmark/benchmark.service.ts

@ -437,7 +437,7 @@ export class BenchmarkService {
};
});
if (storeInCache) {
if (!enableSharing && storeInCache) {
const expiration = addHours(new Date(), 2);
await this.redisCacheService.set(

Loading…
Cancel
Save