Update statuses_controller.rb CONTEXT_LIMIT to 512 to fix terrible comment performance

This commit is contained in:
admin 2021-01-19 04:58:52 +00:00
parent 775439f194
commit 90b752c91d

@ -13,7 +13,7 @@ class Api::V1::StatusesController < Api::BaseController
# conversations as quasi-unlimited, it would be too much work to render more
# than this anyway
# : TODO :
CONTEXT_LIMIT = 4_096
CONTEXT_LIMIT = 512
def show
@status = cache_collection([@status], Status).first