title: Using sidekiq/redistogo with heroku?
body: <p>I followed the sideqik gem tutorial docs and heroku Redistogo addon docs </p>
  
  <p><strong>initializers/sidekiq.rb:</strong></p>
  
  <pre><code>Sidekiq.configure_server do |config|
    config.redis = { url: 'redis://redistogo:xxx.redistogo.com:10076/' }
  end
  
  Sidekiq.configure_client do |config|
    config.redis = { url: 'redis://redistogo:xxx.redistogo.com:10076/' }
  end
  </code></pre>
  
  <p><strong>app/workers/hard_woker.rb:</strong></p>
  
  <pre><code>class HardWorker
    include Sidekiq::Worker
    def perform(shop_domain, webhook)
     #performing stuffs
  end
  </code></pre>
  
  <p><strong>Webhook I am putting into background job (trying to at least):</strong></p>
  
  <pre><code>class OrdersCreateJob &lt; ActiveJob::Base
    def perform(shop_domain:, webhook:)
      shop = Shop.find_by(shopify_domain: shop_domain)
      shop.with_shopify_session do
        HardWorker.perform_async(shop_domain, webhook)
      end
    end
  end
  </code></pre>
  
  <p><strong>Procfile:</strong></p>
  
  <pre><code>hardworker: bundle exec sidekiq -t 25
  </code></pre>
  
  <p>There are no errors in console.</p>
  
  <p>Is something wrong here, did I miss something?</p>
  
  <p><strong>My queue:</strong></p>
  
  <pre><code>irb(main):003:0&gt; Sidekiq::Queue.all
  =&gt; [#&lt;Sidekiq::Queue:0x000055b53a2d0920 @name="default", @rname="queue:default"&gt;]
  </code></pre>
  
  <p>I assume this means nothing is in the queue?</p>
  
  <p>My goal is to take all my my CreateOrderWebhook code (which is almost 500 lines) into a background job to put less strain on the app and allow webhooks /prevent webhooks from being blocked</p>