mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix sidekiqload
This commit is contained in:
parent
afb794af3e
commit
ea9c86ff50
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ def Process.rss
|
|||
`ps -o rss= -p #{Process.pid}`.chomp.to_i
|
||||
end
|
||||
|
||||
iter = 50
|
||||
iter = 10
|
||||
count = 10_000
|
||||
|
||||
iter.times do
|
||||
|
@ -139,7 +139,7 @@ begin
|
|||
events.clear
|
||||
|
||||
with_latency(Integer(ENV.fetch("LATENCY", "1"))) do
|
||||
launcher = Sidekiq::Launcher.new(Sidekiq.options)
|
||||
launcher = Sidekiq::Launcher.new(Sidekiq)
|
||||
launcher.run
|
||||
|
||||
while readable_io = IO.select([self_read])
|
||||
|
|
Loading…
Add table
Reference in a new issue