benchmarks/compare.rb in sidekiq-limit_fetch-2.0 vs benchmarks/compare.rb in sidekiq-limit_fetch-2.0.1
- old
+ new
@@ -6,10 +6,10 @@
limit = ARGV.shift
if limit
limit = nil if limit == 'nil'
- $:.unshift File.expand_path './lib'
+ $:.unshift File.expand_path '../lib'
require 'sidekiq-limit_fetch'
Sidekiq::Queue['inline'].limit = limit
Sidekiq.redis {|it| it.del 'limit_fetch:probed:inline' }
end