Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

clearing all locks #9

Closed
sreid99 opened this Issue · 2 comments

2 participants

@sreid99

Is there a method in resque-lock-timeout which clears any exiting locks from redis ? Also, is it run at rails app initialisation ?

@lantins
Owner

Hello,

There is no method to clear all existing locks.

When the job attempts to acquire a lock, it will remove any stale locks if the timeout has expired, there is no need to specifically clear them.

@lantins lantins closed this
@lantins
Owner

To clarify, there is also nothing run at rails app initialisation to do with this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.