Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency simple-redis-mutex to v2 #3822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
simple-redis-mutex ^1.3.1 -> ^2.0.0 age adoption passing confidence

Release Notes

AmrSaber/simple-redis-mutex (simple-redis-mutex)

v2.1.0

Compare Source

Features

  • Add fencing tokens
  • Support refresh timeout
  • Cache release script

See readme for more details.

v2.0.0

Compare Source

Breaking Changes

  • Redis client is now redis and not ioredis
  • options have been renamed:
    • timeoutMillis -> timeout
    • retryTimeMillis -> pollingInterval -- and it is now only used for expired locks, other wise pub/sub is used with released locks
    • failAfterMillis -> failAfter
  • FIFO option has been removed: existing implementation was wrong, it failed on lock-holder crash or failing to acquire the lock, and I could not come up with an implementation that would retain the functionality using redis only -- I sincerely apologize to anyone who have used it.
  • timeout and pollingInterval have defaults. Locks are not allowed to lock indefinitely.

Features

  • Add tryLock that attempts to acquire lock in a non-blocking manner
  • Lock release Pub/Sub: When a lock is released, Redis Pub/Sub is used to signal waiting processes to attempt acquiring the lock. This gives huge performance gains making the locks more performant and waiting processes acquire locks faster.
  • onFail: a feature request long time ago, finally made it to release.

See project's main README for details about all the points in this release.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added [status] needs review PRs that are ready to be reviewed. [type] chore labels Nov 27, 2024
@renovate renovate bot changed the title fix(deps): update dependency simple-redis-mutex to v2 fix(deps): update dependency simple-redis-mutex to v2 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/simple-redis-mutex-2.x branch December 8, 2024 18:43
@renovate renovate bot changed the title fix(deps): update dependency simple-redis-mutex to v2 - autoclosed fix(deps): update dependency simple-redis-mutex to v2 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/simple-redis-mutex-2.x branch from bdf4362 to fbb7226 Compare December 9, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[status] needs review PRs that are ready to be reviewed. [type] chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants