lib/qpush/server/perform.rb in qpush-0.1.7 vs lib/qpush/server/perform.rb in qpush-0.1.8

- old
+ new

@@ -26,10 +26,10 @@ private # Performs a 'blocking pop' on our redis job list. # def retrieve_job - json = Server.redis { |c| c.brpop(Server.keys.perform_list) } + json = Server.redis { |c| c.brpop(Server.keys[:perform_list]) } Job.new(JSON.parse(json.last)) rescue => e raise ServerError, e.message end end