Skip to content

Commit 484eef2

Browse files
Merge pull request TheThingsIndustries#353 from TheThingsIndustries/config/max-parameter-length
doc: Document `as.formatters.max-parameter-length` option
2 parents e61744e + 78b9e79 commit 484eef2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

doc/content/reference/configuration/application-server.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ Application Server can fetch information stored in the Identity Server. For exam
5555
- `as.fetcher.cache.size`: Number of cache entries. In case the cache is full, the Least Frequently Used entry will be evicted. Set to `0` to disable.
5656
- `as.fetcher.cache.ttl`: Time-To-Live for cache entries.
5757

58+
## Formatter Options {{< new-in-version "3.13.0" >}}
59+
60+
Application Server can use Javascript payload formatters to decode uplink and encode downlink messages.
61+
62+
- `as.formatters.max-parameter-length`: Maximum length (in bytes) for user-defined payload formatter scripts. A global cap of 16KB is enforced at the API level. This does not affect payload formatter scripts loaded from the [Device Repository]({{< ref "/integrations/payload-formatters/device-repo" >}}).
63+
5864
## Storage Integration Options {{< distributions "Enterprise" "AWS Launcher" "Dedicated Cloud" >}} {#storage-integration-options}
5965

6066
The Storage Integration requires a database for storing upstream messages.

0 commit comments

Comments
 (0)