Skip to content

Commit

Permalink
Allow 'infinity' for max_stanza_size
Browse files Browse the repository at this point in the history
The default value is 'infinity' so it makes sense to make this value valid.
  • Loading branch information
chrzaszcz committed Apr 19, 2022
1 parent fbde55b commit d4e2df8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/configuration/listen.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ Hibernation greatly reduces memory consumption of client processes, but *may* re
The default, recommended value of 0 means that the client processes will hibernate at every opportunity.

### `listen.*.max_stanza_size`
* **Syntax:** positive integer
* **Default:** not set, unlimited size
* **Syntax:** positive integer or the string `"infinity"`
* **Default:** `"infinity"`
* **Example:** `max_stanza_size = 10_000`

Maximum allowed incoming stanza size in bytes.
Maximum allowed incoming stanza size in bytes.
!!! Warning
This limit is checked **after** the input data parsing, so it does not apply to the input data size itself.

Expand Down

0 comments on commit d4e2df8

Please sign in to comment.