FIX: Move Jobs::CreateAvatarThumbnails to low priority queue.

This commit is contained in:
Guo Xiang Tan 2018-08-07 16:05:13 +08:00
parent c1e7d6e39a
commit d5a7b818ba
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
module Jobs module Jobs
class CreateAvatarThumbnails < Jobs::Base class CreateAvatarThumbnails < Jobs::Base
sidekiq_options queue: 'low'
def execute(args) def execute(args)
return if Rails.env.test? return if Rails.env.test?