node-redlock
node-redlock copied to clipboard
A node.js redlock implementation for distributed, highly-available redis locks
did not support node-redis, const redis = require("redis"); TypeError: client.evalsha is not a function at Redlock._attemptOperationOnClient (/home/mason/project/epubpub/epub-search/node_modules/redlock/dist/cjs/index.js:362:49) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) const redisClient = require("./redisClient"); const { default: Redlock, ResourceLockedError }...
`const Redis = require("redis"); const { default: Redlock } = require("redlock"); const redis = Redis.createClient({ password: "password", socket: { host: "host", port: port, }, }); const redlock = new Redlock([redis],...
It can be used to specify some information about instance, that creates lock to understand what system locks specific resource
The latest stable release is 4.2.0 Newer releases are 5.x.x, which if you follow semver, implies that there were breaking changes to the API. What do users need to do...
I tried to submit this in a branch & PR but I keep getting access denied. My request: Allow to submit a value for the lock in case the user...
Version 5 is still in beta and we have not seen a new version in over year. There has a been a PR merged to fix extension issues that looks...
Redlock is instantiated with three independent Redis instances. They run on different containers on different ports. When i shutdown one of the instances and try to acquire a lock it...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.45 to 18.14.6. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [ioredis](https://github.com/luin/ioredis) from 4.28.5 to 5.3.1. Release notes Sourced from ioredis's releases. v5.3.1 5.3.1 (2023-02-12) Bug Fixes Fix commands not resend on reconnect in edge cases (#1720) (fe52ff1), closes #1718...
Bumps [ava](https://github.com/avajs/ava) from 4.3.3 to 5.2.0. Release notes Sourced from ava's releases. v5.2.0 What's Changed Infer thrown error from expectations by @tao-cumplido in avajs/ava#3156 New Contributors @tao-cumplido made their first...