Browse files

Adding time unit (seconds) to loner_ttl description

  • Loading branch information...
1 parent c7477f4 commit 4f34ea78f5c81a5862bd0919b0ce35abfb8965fa @mateusdelbianco mateusdelbianco committed Sep 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/resque-loner/unique_job.rb
View
4 lib/resque-loner/unique_job.rb
@@ -36,8 +36,8 @@ def redis_key(payload)
#
# The default ttl of a locking key is -1, i.e. forever. If for some reason you only
- # want the lock to be in place after a certain amount of time, just set a ttl for
- # for your job. For example:
+ # want the lock to be in place after a certain amount of time, just set a ttl (in
+ # seconds) for your job. For example:
#
# class FooJob
# include Resque::Plugins::UniqueJob

0 comments on commit 4f34ea7

Please sign in to comment.