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:
parent
bad9b806eb
commit
2801e06ba9
1 changed files with 1 additions and 1 deletions
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue