mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Remove manual priority setting
This commit is contained in:
parent
9f4ccfe519
commit
2b25670524
6 changed files with 0 additions and 9 deletions
|
|
@ -1,6 +1,5 @@
|
|||
class CleanupExpiredEmailVerificationRequestsJob < ApplicationJob
|
||||
queue_as :latency_10s
|
||||
priority 1000
|
||||
|
||||
include GoodJob::ActiveJobExtensions::Concurrency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
class HandleEmailSigninJob < ApplicationJob
|
||||
queue_as :latency_10s
|
||||
priority 0
|
||||
|
||||
def perform(email)
|
||||
email_address = ActiveRecord::Base.transaction do
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
class SailorsLogNotifyJob < ApplicationJob
|
||||
queue_as :latency_10s
|
||||
priority 10
|
||||
|
||||
include GoodJob::ActiveJobExtensions::Concurrency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
class SailorsLogPollForChangesJob < ApplicationJob
|
||||
queue_as :latency_10s
|
||||
priority 10
|
||||
|
||||
include GoodJob::ActiveJobExtensions::Concurrency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
class UserSlackStatusUpdateJob < ApplicationJob
|
||||
queue_as :latency_10s
|
||||
priority 10
|
||||
|
||||
BATCH_SIZE = 25
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
# Set priority for mailer jobs to be highest
|
||||
ActionMailer::MailDeliveryJob.class_eval do
|
||||
self.priority = 0
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue