Browse Source

Disable caching of benchmarks if sharing mode

pull/4027/head
Thomas Kaul 10 months ago
parent
commit
0066354be9
  1. 2
      apps/api/src/app/benchmark/benchmark.service.ts

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); const expiration = addHours(new Date(), 2);
await this.redisCacheService.set( await this.redisCacheService.set(

Loading…
Cancel
Save