liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Documentation for ResourceLimits feature

Open woodhull opened this issue 1 year ago • 0 comments

I discovered the ResourceLimits feature while reading through the codebase.

Is there any documentation on this and how to use it effectively? We would like to mitigate against potential denial of service in our application from very large loops or excessive memory usage.

https://github.com/Shopify/liquid/blob/b4196489c2d14a9cedf004c871bb9331fd9d12ba/lib/liquid/resource_limits.rb#L4

It does not see anything in the Wiki or other docs about this, and its not clear what reasonable values might be for an ordinary web application.

woodhull avatar Oct 28 '24 21:10 woodhull