Skip to content

Commit efb936b

Browse files
authored
Merge pull request #7978 from segmentio/master
`master` into `develop`
2 parents e596096 + 038211c commit efb936b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/connections/destinations/actions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ The Liquid syntax function enables you to transform event data with fine-grain c
245245
#### Whitespace
246246
By default, Liquid will generate a newline when inputing multi-line templates. To strip these newlines you can use hyphens in the syntax ({% raw %} `{{-`, `-}}`, `{%-`, `-%}` {% endraw %}). See the [LiquidJS docs](https://liquidjs.com/tutorials/whitespace-control.html) for more information.
247247

248+
#### Liquid template limits
249+
250+
Segment enforces the following limits on liquid templates to protect performance and security:
251+
252+
- Maximum template length: 1,000 characters per function
253+
- Maximum evaluation time: 500 ms
254+
- Maximum memory usage: 100 MB
255+
248256
#### Supported liquid tags and filters
249257
Segment supports the following LiquidJS tags and filters for mappings. Segment selected these to ensure performance, security, and compatibility with real-time event processing. Segment disabled unsupported tags and filters to prevent performance degradation or security risks.
250258

0 commit comments

Comments
 (0)