1
0
Fork 0
mirror of https://github.com/deanpcmad/sidekiq-limit_fetch.git synced 2022-11-09 13:54:36 -05:00

Fix benchmark

This commit is contained in:
brainopia 2013-06-17 23:11:16 +04:00
parent bad9b806eb
commit 2801e06ba9

View file

@ -8,7 +8,7 @@ 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' }