Files
danbooru/test/unit
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
..
2015-08-18 17:40:53 -07:00
2014-04-16 17:43:34 -07:00
2014-07-23 15:15:47 -07:00
2017-04-19 14:04:36 -07:00
2014-11-07 15:03:00 -08:00
2016-09-10 10:41:27 +05:00
2015-02-09 19:10:47 -08:00
2017-04-16 16:48:36 -05:00
2014-10-22 17:22:36 -07:00
2017-04-16 16:48:36 -05:00
2017-04-04 12:39:17 -07:00
2017-04-16 16:48:36 -05:00
2017-04-16 16:48:36 -05:00
2017-04-04 12:39:17 -07:00
2017-04-16 16:48:36 -05:00