mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
add parentheses
This commit is contained in:
parent
91e90f418e
commit
65eb63db58
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue