Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

args are important

  • Loading branch information...
commit 538f0d3aaea0d076255b3d0ab2470acaef75a891 1 parent a4b15ae
@defunkt defunkt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/resque/plugins/lock.rb
View
4 lib/resque/plugins/lock.rb
@@ -49,8 +49,8 @@ def lock(*args)
end
# Convenience method, not used internally.
- def locked?
- Resque.redis.exist(lock)
+ def locked?(*args)
+ Resque.redis.exist(lock(*args))
end
# Where the magic happens.
Please sign in to comment.
Something went wrong with that request. Please try again.