Files
danbooru/app/logical
evazion 8404064854 related_tag_calculator.rb: fix memcache lookup in inner loop.
Remove the category constraint option from RelatedTagCalculator.calculate_from_posts.
It slows things down and isn't used.

This method is used to calculate the related tags sidebar during
searches for single metatags. Using Tag.category_for in the inner loop
caused a memcache call on every iteration. At 100 posts per page and
20-30 tags per post, this led to up to 2000-3000 total memcache calls,
which significantly slowed pageloads.
2017-04-23 17:10:20 -05:00
..
2017-04-20 16:43:41 -07:00
2014-02-28 16:40:11 -08:00
2017-04-20 16:43:41 -07:00
2014-05-23 14:15:45 -04:00
2017-03-21 14:40:46 -07:00
2017-04-16 16:48:36 -05:00
2013-04-14 18:22:25 -07:00
2015-02-15 12:23:53 -08:00
2015-09-23 12:57:17 -07:00
2017-03-17 16:44:02 -07:00
2017-02-21 13:40:52 -08:00