diff --git a/lib/sidetiq/schedulable.rb b/lib/sidetiq/schedulable.rb index 67b1978..4519216 100644 --- a/lib/sidetiq/schedulable.rb +++ b/lib/sidetiq/schedulable.rb @@ -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