- Rearrange and reprioritize current sidekiq queues - Trim the unnecessary queues ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
8 lines
136 B
Ruby
8 lines
136 B
Ruby
class WebhookJob < ApplicationJob
|
|
queue_as :medium
|
|
|
|
def perform(url, payload)
|
|
Webhooks::Trigger.execute(url, payload)
|
|
end
|
|
end
|