Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 1b570fc

Browse files
PERF: Move sentiment analysis to "low" sidekiq queue (#1173)
1 parent 5b63e59 commit 1b570fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/jobs/regular/post_sentiment_analysis.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ::Jobs
44
class PostSentimentAnalysis < ::Jobs::Base
5+
sidekiq_options queue: "low"
6+
57
def execute(args)
68
return unless SiteSetting.ai_sentiment_enabled
79
return if (post_id = args[:post_id]).blank?

0 commit comments

Comments
 (0)