clearing all locks #9

Closed
sreid99 opened this Issue Apr 30, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@sreid99

sreid99 commented Apr 30, 2012

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

@lantins

This comment has been minimized.

Show comment Hide comment
@lantins

lantins Jun 4, 2012

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.

Owner

lantins commented Jun 4, 2012

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 Jun 4, 2012

@lantins

This comment has been minimized.

Show comment Hide comment
@lantins

lantins Jun 4, 2012

Owner

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

Owner

lantins commented Jun 4, 2012

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