diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-29 02:07:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-29 02:07:14 +0100 |
commit | cc70f28f195335f4775f7b6aafe7d90210e8b700 (patch) | |
tree | e933cbccbf6d3ec3b6627bba41f4b395c38d2f27 /app/workers/pubsubhubbub/distribution_worker.rb | |
parent | c0555f2db6b04edfbf829696648ec3998cef9365 (diff) |
Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
can be processed separately
Diffstat (limited to 'app/workers/pubsubhubbub/distribution_worker.rb')
-rw-r--r-- | app/workers/pubsubhubbub/distribution_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/pubsubhubbub/distribution_worker.rb b/app/workers/pubsubhubbub/distribution_worker.rb index 7917434f708..b0ddc71c1c1 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 |