Assuming I correctly followed all off the twists and turns in the code, here’s what I found:
We have a ScoreCalculator class that uses the two settings (summary likes required and summary posts required) to determine whether the topic should be summarized:
That ScoreCalulator class will be called in the PeriodicalUpdates job that runs every 15 minutes to check against topics that meet the specified arguments:
All other topics should be covered by the Weekly job with:
https://github.com/discourse/discourse/blob/master/app/jobs/scheduled/weekly.rb#L11
Any particular preference for the copy of the setting description? Maybe something like:
I guess another alternative would be to run the score calculation upon saving the setting.
