Skip to content

issues Search Results · repo:swarthy/redis-semaphore language:TypeScript

Filter by

31 results
 (80 ms)

31 results

inswarthy/redis-semaphore (press backspace or delete to remove)

Java s redisson publish a msg when lock is released, so another one will get the msg and tryAcquire again. This method is obviously more time-efficient, why redis-semaphore just supports retrying at intervals? ...
  • Yelijah
  • Opened 
    on Jun 15
  • #266

In this example, why do we need to create a new Semaphore instance every time we call the doSomething method? I was very confused when I first encountered this, to the point that it took me about an hour ...
  • izhouteng
  • 1
  • Opened 
    on Dec 29, 2024
  • #249

Setup docker-compose.yml redis-node-1: container_name: redis-node-1 image: bitnami/redis-cluster:7.2 volumes: - redis-node-1:/data environment: - REDIS_PASSWORD=test ...
  • akshaydeo
  • 1
  • Opened 
    on Mar 28, 2024
  • #208

I have about 32 workers running the following process: const sema = new Semaphore( redisClient, my-key , 100, { acquireTimeout: 30 * 60 * 1000, lockTimeout: 10 * 60 * 1000, refreshInterval: ...
  • elliott-with-the-longest-name-on-github
  • 1
  • Opened 
    on Mar 1, 2024
  • #205

Hi, I have a case in which I need to pass an ioredis-mock instance for testing but I get the following error: client must be instance of ioredis client or cluster Is there a solution or workaround ...
  • germanescobar
  • 4
  • Opened 
    on Dec 31, 2023
  • #201

Could you kindly elaborate on why refreshInterval is useful? It looks like we need to disable it (keep on losing locks when using identifier) and I m wondering what we ll be missing without it. Thanks! ...
  • mbrevda
  • 2
  • Opened 
    on Dec 14, 2023
  • #200

Hello! I m using this library to control distributed mutexes on our application and, sometimes, I get an error of connectionTimeout on Redis during the lock refresh. This is an infrastructure problem ...
  • Farenheith
  • 3
  • Opened 
    on Nov 13, 2023
  • #199

Hi, thank you for your awesome lib! I used to use the externallyAcquiredIdentifier option of Mutex to implement a reentrant distributed lock. That s to say, if multi locks have the same identifier, they ...
  • AngelMsger
  • 1
  • Opened 
    on Aug 22, 2023
  • #193

My codes: const {Semaphore, TimeoutError} = require( redis-semaphore ); const Redis = require( ioredis ); redis = new Redis.Cluster( [ { host: REDIS_HOST, port: 6379 } ], { slotsRefreshTimeout: 10000, ...
  • xiaoke314
  • 3
  • Opened 
    on Jul 26, 2023
  • #186

When a mutex instance s scheduled lock refresh is delayed, the lock may expire. This leaves a gap of time for another mutex instance to acquire and release the lock before the first instance s refresh ...
  • NilSet
  • 2
  • Opened 
    on Jun 15, 2023
  • #175
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub