lib/qpush/server/heartbeat.rb in qpush-0.1.7 vs lib/qpush/server/heartbeat.rb in qpush-0.1.8
- old
+ new
@@ -11,10 +11,10 @@
# Starts our heartbeat process. This will run until instructed to stop.
#
def start
until @done
- Server.redis { |c| c.setex(Server.keys.heart, 30, true) }
+ Server.redis { |c| c.setex(Server.keys[:heart], 30, true) }
sleep 15
end
end
# Shutsdown our heartbeat process.