fixed some lint issues
This commit is contained in:
parent
8680b6ec20
commit
a700818a06
15 changed files with 1574 additions and 1319 deletions
6
libs/core/cache/src/connection-manager.ts
vendored
6
libs/core/cache/src/connection-manager.ts
vendored
|
|
@ -7,7 +7,7 @@ interface ConnectionConfig {
|
|||
singleton?: boolean;
|
||||
db?: number;
|
||||
redisConfig: RedisConfig;
|
||||
logger?: any;
|
||||
logger?: unknown;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -32,7 +32,9 @@ export class RedisConnectionManager {
|
|||
|
||||
if (singleton) {
|
||||
const existing = RedisConnectionManager.connections.get(name);
|
||||
if (existing) return existing;
|
||||
if (existing) {
|
||||
return existing;
|
||||
}
|
||||
}
|
||||
|
||||
const connection = this.createConnection(redisConfig);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue