lib/qpush/web/apis/queue_delayed.rb in qpush-0.1.7 vs lib/qpush/web/apis/queue_delayed.rb in qpush-0.1.8

- old
+ new

@@ -15,15 +15,15 @@ end private def retrieve_delay - delays = @conn.zrangebyscore(Web.keys.delay, @score, @score) + delays = @conn.zrangebyscore(Web.keys[:delay], @score, @score) delays.each # Performs a watch on our delay list # def watch_delay - @conn.watch(Web.keys.delay) do + @conn.watch(Web.keys[:delay]) do yield if block_given? end end