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

Commit 3456fda

Browse files
Update app/jobs/regular/fast_track_topic_gist.rb
Co-authored-by: Keegan George <[email protected]>
1 parent 575042d commit 3456fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/regular/fast_track_topic_gist.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def execute(args)
1414

1515
summarizer = DiscourseAi::Summarization.topic_gist(topic)
1616
gist = summarizer.existing_summary
17-
return if gist.present? && (!gist.outdated || gist.created_at > 5.minutes.ago)
17+
return if gist.present? && (!gist.outdated || gist.created_at >= 5.minutes.ago)
1818

1919
summarizer.force_summarize(Discourse.system_user)
2020
end

0 commit comments

Comments
 (0)