node-redlock
node-redlock copied to clipboard
A node.js redlock implementation for distributed, highly-available redis locks
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.4. Release notes Sourced from typescript's releases. TypeScript 4.7.4 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Is it possible to release a lock by key? The documentation only describes releasing a lock by calling the `release` function of the lock instance like `lock.release();`. I would like...
Hi, I don't know what causes this behaviour, but no matter how I try to use your code, I am never getting it to work ```ts redlock.using([`util:${this.settings.hostIP}`], minimalDelay+1, async signal...
The current `package.json` breaks TypeScript when used with `nodenext` (ESM) module resolution. The `types` field in the `package.json` is no longer respected when using `exports` as this package does. See...
This is an exploration of bug reports such as #168, with the goal of reproducing the experienced issues.
Issue https://github.com/mike-marcacci/node-redlock/issues/166 The lock's timer should start counting *after* the acquisition reaches quorum, not before. Otherwise, the lock is unfairly penalized for long acquisition wait time, and its extensions subsequent...
Hi, finding that redlock is allowing multiple parties into the lock. Running a basic [`redis:latest`](https://hub.docker.com/_/redis) docker image locally. The snippet below is throwing the `Should not be in use` exception...
It looks like support for 'redis' was dropped from v5 in favor of exclusively supporting 'ioredis'. Is that something that might come back in the future? Also: Is there an...
Issue: https://github.com/mike-marcacci/node-redlock/issues/82 @mike-marcacci Sketch implementation of custom retry strategy. I've though about few options & decided to go with Strategy option since I decided to minimise changes to lock code,...
Example
Please, share a simple example of using a "node-redlock" for a "cjs" for a case with app.js and controller.js.