Merge pull request #14 from hanchang/master

Redis::CommandError (ERR value is not an integer or out of range):
This commit is contained in:
Aaron Suggs 2013-05-13 13:05:05 -07:00
commit e917fcc2b5

View file

@ -9,7 +9,7 @@ module Rack
raise ArgumentError.new("Must pass #{opt.inspect} option") unless options[opt]
end
@limit = options[:limit]
@period = options[:period]
@period = options[:period].to_i
end
def cache