Skip to content

Commit

Permalink
Make sure that redis_retry_key has no whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jstorimer authored and lantins committed May 28, 2010
1 parent 76c67c0 commit 2478580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/plugins/retry.rb
Expand Up @@ -55,7 +55,7 @@ def identifier(*args)
#
# @return [String] redis key
def redis_retry_key(*args)
['resque-retry', name, identifier(*args)].compact.join(":")
['resque-retry', name, identifier(*args)].compact.join(":").gsub(/\s/, '')
end

##
Expand Down

0 comments on commit 2478580

Please sign in to comment.