Showing 2 of 8 total issues
RedisConnectionPool
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class RedisConnectionPool {
max_clients = 5;
redis: RedisClientOptions;
pool: Pool<RedisClientType>;
private initializing = false;
Function init
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async init(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this.pool = createPool({
create: async () => {