Update statuses_controller.rb CONTEXT_LIMIT to 512 to fix terrible comment performance
This commit is contained in:
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
|
# conversations as quasi-unlimited, it would be too much work to render more
|
||||||
# than this anyway
|
# than this anyway
|
||||||
# : TODO :
|
# : TODO :
|
||||||
CONTEXT_LIMIT = 4_096
|
CONTEXT_LIMIT = 512
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@status = cache_collection([@status], Status).first
|
@status = cache_collection([@status], Status).first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user