From 65eb63db586c2d183f45e8856a112888e5b1a820 Mon Sep 17 00:00:00 2001 From: Lee Henson Date: Fri, 8 Mar 2013 16:07:25 +0000 Subject: [PATCH] add parentheses --- lib/sidetiq/schedulable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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