From 0e5d77f15b2da27ee992438c8645dcff96881ba7 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 10 Oct 2024 11:59:39 +0200 Subject: [PATCH] fix(job): image process => low queue --- app/jobs/image_processor_job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/jobs/image_processor_job.rb b/app/jobs/image_processor_job.rb index 16b76f32d..aa39a687e 100644 --- a/app/jobs/image_processor_job.rb +++ b/app/jobs/image_processor_job.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class ImageProcessorJob < ApplicationJob + queue_as :low # thumbnails and watermarks. Execution depends of virus scanner which is more urgent + class FileNotScannedYetError < StandardError end