mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Change incoming activity processing to happen in ingress
queue (#20264)
This commit is contained in:
parent
89a6b76f99
commit
f8e8e622e5
@ -7,6 +7,7 @@ class Admin::SystemCheck::SidekiqProcessCheck < Admin::SystemCheck::BaseCheck
|
||||
mailers
|
||||
pull
|
||||
scheduler
|
||||
ingress
|
||||
).freeze
|
||||
|
||||
def skip?
|
||||
|
@ -3,7 +3,7 @@
|
||||
class ActivityPub::ProcessingWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options backtrace: true, retry: 8
|
||||
sidekiq_options queue: 'ingress', backtrace: true, retry: 8
|
||||
|
||||
def perform(actor_id, body, delivered_to_account_id = nil, actor_type = 'Account')
|
||||
case actor_type
|
||||
|
@ -1,8 +1,9 @@
|
||||
---
|
||||
:concurrency: 5
|
||||
:queues:
|
||||
- [default, 6]
|
||||
- [push, 4]
|
||||
- [default, 8]
|
||||
- [push, 6]
|
||||
- [ingress, 4]
|
||||
- [mailers, 2]
|
||||
- [pull]
|
||||
- [scheduler]
|
||||
|
Loading…
Reference in New Issue
Block a user