errorception / redis-lock

Implements a locking primitive using redis. An implementation of the algorithm described at https://redis.io/commands/setnx
211 stars 48 forks source link

Replace redis by ioredis #40

Open nblam1994 opened 1 year ago

nblam1994 commented 1 year ago

Replace redis library by ioredis libary. In general, ioredis provides a better performance