Joined November 2013
·

Andres Olave

Israel
·

Posted to Free background jobs on heroku over 1 year ago

looks like it to me - here is my puma.rb using 2 workers. Not tested under load just yet - and make sure you have you don't hit your db and redis connection limits.

environment ENV['RACK_ENV']
workers 2
threads 2,5 # 4-6
preload_app!

on_worker_boot do
  @sidekiq_pid ||= spawn("bundle exec sidekiq -c 2")
end
Achievements
1 Karma
0 Total ProTip Views