queue UpdateExternalCacheJob as low priority
This commit is contained in:
parent
5c4c49d3c8
commit
0c72858116
@ -1,6 +1,8 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class UpdateExternalCacheJob < ApplicationJob
|
class UpdateExternalCacheJob < ApplicationJob
|
||||||
|
queue_as :low_priority
|
||||||
|
|
||||||
def perform(image)
|
def perform(image)
|
||||||
image.update_cache!
|
image.update_cache!
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user