Sidekiq documentation says 'Sidekiq is not designed to work well with dozens of queues.'. Having the amount of queues we have at the moment brings no anyway. Closes #5571
9 lines
152 B
Ruby
9 lines
152 B
Ruby
module Workers
|
|
class CleanCachedFiles < Base
|
|
sidekiq_options queue: :low
|
|
|
|
def perform
|
|
CarrierWave.clean_cached_files!
|
|
end
|
|
end
|
|
end
|