docbrown/app/services/articles
Jeremy Friesen 7989226d3f
Jeremyf/refactor order of operations (#15192)
* Adding guard clause for nill org feed score

There's no sense running a query if we don't have an organization.  This
is a small refactor that might offer a most nominal speed bump

* Caching calculated value

Prior to this commit, we calculated the user_experience_level once per
article in the feed.

This change adds a cache, creating a minor computational improvement.
2021-10-26 10:18:52 -04:00
..
feeds Jeremyf/refactor order of operations (#15192) 2021-10-26 10:18:52 -04:00
attributes.rb Articles update refactoring (#12913) 2021-03-10 13:08:36 +03:00
builder.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
creator.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
destroyer.rb [deploy] Add dependent clauses to Article and fix Comment validation (#9990) 2020-08-28 18:24:28 +02:00
detect_animated_images.rb Articles::DetectAnimatedImages: raise default timeout for FastImage (#14538) 2021-08-18 19:22:47 +02:00
get_user_stickies.rb Optimize GetUserStickies (#13541) 2021-04-27 12:47:49 -04:00
suggest.rb Optimize Articles::Suggest query (#13548) 2021-04-27 14:30:06 -04:00
suggest_stickies.rb Optimize column selection for articles belonging to "any" given tag (#12420) 2021-01-25 17:34:10 +01:00
updater.rb Remove any preexisting mention notifications when article is unpublished (#13749) 2021-05-12 11:48:12 -07:00