swarthy/redis-semaphore

View on GitHub
src/semaphore/acquire/index.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function acquireSemaphore has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

export async function acquireSemaphore(
  client: RedisClient,
  key: string,
  limit: number,
  options: Options
Severity: Minor
Found in src/semaphore/acquire/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status