Remove redundant default queue declaration
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
class Card::AutoCloseAllDueJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform
|
||||
ApplicationRecord.with_each_tenant do |tenant|
|
||||
Card.auto_close_all_due
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
class Card::AutoReconsiderAllStagnatedJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform
|
||||
ApplicationRecord.with_each_tenant do |tenant|
|
||||
Card.auto_reconsider_all_stagnated
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
class Mention::CreateJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(record, mentioner:)
|
||||
record.create_mentions(mentioner:)
|
||||
end
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
class NotifyRecipientsJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(notifiable)
|
||||
notifiable.notify_recipients
|
||||
end
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
class RemoveAbandonedCreationsJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform
|
||||
ApplicationRecord.with_each_tenant do |tenant|
|
||||
Card.remove_abandoned_creations
|
||||
|
||||
Reference in New Issue
Block a user