redis-semaphore
redis-semaphore copied to clipboard
Distributed mutex and semaphore based on Redis
Hi, I have a case in which I need to pass an [ioredis-mock](https://www.npmjs.com/package/ioredis-mock) instance for testing but I get the following error: ``` "client" must be instance of ioredis client...
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...
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...
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2. Release notes Sourced from get-func-name's releases. v2.0.2 What's Changed Revert previous changes that shipped this as an ES module. Full Changelog: https://github.com/chaijs/get-func-name/commits/v2.0.2 v2.0.1 What's...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.5.3 to 20.5.7. 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 [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.4.1 to 6.5.0. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v6.5.0 6.5.0 (2023-08-28) Bug Fixes eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses (#6885) (23ac499) Features bump supported...
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2. Release notes Sourced from typescript's releases. TypeScript 5.2 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. Release notes Sourced from semver's releases. v6.3.1 6.3.1 (2023-07-10) Bug Fixes 928e56d #591 better handling of whitespace (#591) (@lukekarrys, @joaomoreno, @nicolo-ribaudo) Changelog Sourced from...
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...