eslint
This commit is contained in:
parent
8955544593
commit
9d38f9a7b6
91 changed files with 2224 additions and 1400 deletions
4
libs/cache/src/connection-manager.ts
vendored
4
libs/cache/src/connection-manager.ts
vendored
|
|
@ -173,7 +173,7 @@ export class RedisConnectionManager {
|
|||
try {
|
||||
await connection.ping();
|
||||
details[`shared:${name}`] = true;
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
details[`shared:${name}`] = false;
|
||||
allHealthy = false;
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@ export class RedisConnectionManager {
|
|||
try {
|
||||
await connection.ping();
|
||||
details[`unique:${name}`] = true;
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
details[`unique:${name}`] = false;
|
||||
allHealthy = false;
|
||||
}
|
||||
|
|
|
|||
2
libs/cache/src/redis-cache.ts
vendored
2
libs/cache/src/redis-cache.ts
vendored
|
|
@ -87,7 +87,7 @@ 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