From cc70f28f195335f4775f7b6aafe7d90210e8b700 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 29 Nov 2016 02:07:14 +0100 Subject: Adding rack timeout of 30sec, PuSH jobs moved to push queue so they can be processed separately --- app/workers/pubsubhubbub/distribution_worker.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/workers/pubsubhubbub/distribution_worker.rb') diff --git a/app/workers/pubsubhubbub/distribution_worker.rb b/app/workers/pubsubhubbub/distribution_worker.rb index 7917434f7..b0ddc71c1 100644 --- a/app/workers/pubsubhubbub/distribution_worker.rb +++ b/app/workers/pubsubhubbub/distribution_worker.rb @@ -3,6 +3,8 @@ class Pubsubhubbub::DistributionWorker include Sidekiq::Worker + sidekiq_options queue: 'push' + def perform(stream_entry_id) stream_entry = StreamEntry.find(stream_entry_id) account = stream_entry.account -- cgit