mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
Reset resource consumption before each render
This commit is contained in:
@@ -69,7 +69,6 @@ module Liquid
|
||||
|
||||
def render(context)
|
||||
output = []
|
||||
context.resource_limits.render_length = 0
|
||||
context.resource_limits.render_score += @nodelist.length
|
||||
|
||||
@nodelist.each do |token|
|
||||
|
||||
Reference in New Issue
Block a user