linting
This commit is contained in:
parent
9d38f9a7b6
commit
eeae192872
26 changed files with 532 additions and 186 deletions
4
libs/cache/src/redis-cache.ts
vendored
4
libs/cache/src/redis-cache.ts
vendored
|
|
@ -87,7 +87,9 @@ export class RedisCache implements CacheProvider {
|
|||
}
|
||||
|
||||
private updateStats(hit: boolean, error = false): void {
|
||||
if (!this.enableMetrics) {return;}
|
||||
if (!this.enableMetrics) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (error) {
|
||||
this.stats.errors++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue