diff --git a/app/jobs/regular/post_sentiment_analysis.rb b/app/jobs/regular/post_sentiment_analysis.rb index bcd1e1d5..59b96a1b 100644 --- a/app/jobs/regular/post_sentiment_analysis.rb +++ b/app/jobs/regular/post_sentiment_analysis.rb @@ -2,6 +2,8 @@ module ::Jobs class PostSentimentAnalysis < ::Jobs::Base + sidekiq_options queue: "low" + def execute(args) return unless SiteSetting.ai_sentiment_enabled return if (post_id = args[:post_id]).blank?