Permalink
Browse files

passing along queue key to the running method. This lets the running …

…method know which queue item was used to call it.
  • Loading branch information...
1 parent dc78e0e commit 53c2afb0b76d2ae8764af78a7fba769cc9be7731 @KellyMahan committed Dec 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/memcachedb_q.rb
View
@@ -88,7 +88,7 @@ def run
else
puts "keys don't match ignoring repeat"
end
- eval(data[:class].to_s.camelize).send(data[:method], *variables)
+ eval(data[:class].to_s.camelize).send(data[:method], data[:key], *variables)
rescue => e
puts "\t#{e.message}\n#{e.backtrace.join("\n")}"
end

0 comments on commit 53c2afb

Please sign in to comment.