fix: Sentiment analysis queue update (#7552)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module Enterprise::Message
|
||||
def update_message_sentiments
|
||||
::Enterprise::SentimentAnalysisJob.perform_later(self)
|
||||
::Enterprise::SentimentAnalysisJob.perform_later(self) if ENV.fetch('SENTIMENT_FILE_PATH', nil)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user