1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

add parentheses

This commit is contained in:
Lee Henson 2013-03-08 16:07:25 +00:00
parent 91e90f418e
commit 65eb63db58

View file

@ -29,7 +29,7 @@ module Sidetiq
private
def get_timestamp key
def get_timestamp(key)
Sidekiq.redis do |redis|
(redis.get("sidetiq:#{name}:#{key}") || -1).to_f
end