0
0
Fork 0

Adding rack timeout of 30sec, PuSH jobs moved to push queue so they

can be processed separately
This commit is contained in:
Eugen Rochko 2016-11-29 02:07:14 +01:00
parent c0555f2db6
commit cc70f28f19
10 changed files with 16 additions and 2 deletions

View file

@ -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