Include PARSER_XML_MAXSIZE env variable. (#32)

This commit is contained in:
Chris van Meer 2023-03-01 09:37:59 +01:00 committed by GitHub
parent 4486d7d8bf
commit 8f1fb13960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,3 +100,10 @@ Parser and Viewer support Postgres now too (default is mysql)
```yaml
- "REPORT_DB_TYPE=pgsql"
```
Increase the maximum size of the XML file. (default is `50000` bytes)
When the size exceeds the maximum, one could experience an error `Uncaught ValueError: DOMDocument::loadXML(): Argument #1 ($source) must not be empty`.
```yaml
- "PARSER_XML_MAXSIZE=500000"
```