src/multiSemaphore/acquire/index.ts
Function acquireSemaphore
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
export async function acquireSemaphore(
client: RedisClient,
key: string,
limit: number,
permits: number,
Function acquireSemaphore
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
client: RedisClient,
key: string,
limit: number,
permits: number,
options: Options