Software / code / prosody-modules
Comparison
mod_muc_limits/README.markdown @ 5593:04f36a470dca
Update from upstream
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Sun, 09 Jul 2023 01:31:29 +0700 |
| parent | 5567:d52cc18f0aa8 |
| child | 5608:6680a1f53353 |
comparison
equal
deleted
inserted
replaced
| 5591:680fb3344357 | 5593:04f36a470dca |
|---|---|
| 33 Component "conference.example.com" "muc" | 33 Component "conference.example.com" "muc" |
| 34 modules_enabled = { "muc_limits" } | 34 modules_enabled = { "muc_limits" } |
| 35 | 35 |
| 36 You can define (globally or per-MUC component) the following options: | 36 You can define (globally or per-MUC component) the following options: |
| 37 | 37 |
| 38 Name Default value Description | 38 Name Default value Description |
| 39 ------------------------ --------------- ---------------------------------------------- | 39 --------------------- --------------- -------------------------------------------------- |
| 40 muc\_event\_rate 0.5 The maximum number of events per second. | 40 muc_event_rate 0.5 The maximum number of events per second. |
| 41 muc\_burst\_factor 6 Allow temporary bursts of this multiple. | 41 muc_burst_factor 6 Allow temporary bursts of this multiple. |
| 42 muc\_max\_nick\_length 23 The maximum allowed length of user nicknames | 42 muc_max_nick_length 23 The maximum allowed length of user nicknames |
| 43 muc_max_char_count 5664 The maximum allowed number of bytes in a message | |
| 44 muc_max_line_count 23 The maximum allowed number of lines in a message | |
| 43 | 45 |
| 44 For more understanding of how these values are used, see the algorithm | 46 For more understanding of how these values are used, see the algorithm |
| 45 section below. | 47 section below. |
| 46 | 48 |
| 47 Algorithm | 49 Algorithm |