@ -22,7 +22,7 @@ end
class SimpleApp < Sinatra::Base
get '/' do
10.times { TestJob.perform_async }
20.times { TestJob.perform_async }
haml "%h3 Hello THE BEANSTALK AWESOME World! #{MyRedis.value}"
end
@ -2,7 +2,7 @@ class TestJob
include Sidekiq::Worker
def perform
sleep 2
sleep 5
MyRedis.redis.incr('blob1')