Unicorn & Heroku - is a different configuration for each dyno possible?
===

I'm currently running my app on 2 Heroku dynos. From what I've looked up so far I need to add something similar to config/unicorn.rb:

    worker_processes 3
    timeout 30

    @resque_pid = nil

    before_fork do |server, worker|
      @resque_pid ||= spawn("bundle exec rake " + \
      "resque:work QUEUES=scrape,geocode,distance,mailer")
    end

I have a few different background jobs to process, some need to be run single-threaded and some concurrently. The problem with this configuration is that on both Unicorn instances it will spawn exactly the same resque worker (same queues etc).

It would greatly simplify everything if I could change the type of queues each worker processes - or even have one instance running a resque worker and the other a sidekiq worker.

Is this possible?