lib/ost.rb in ost-0.1.4 vs lib/ost.rb in ost-0.1.5

- old
+ new

@@ -1,16 +1,15 @@ require "nest" module Ost - VERSION = "0.1.4" TIMEOUT = ENV["OST_TIMEOUT"] || 2 class Queue attr :key attr :backup def initialize(name) - @key = Nest.new(:ost)[name] + @key = Nest.new(:ost, redis)[name] @backup = @key[Socket.gethostname][Process.pid] end def push(value) key.lpush(value)