Software / code / prosody-modules
Comparison
mod_muc_limits/README.markdown @ 5566:f71d66bd87be
mod_muc_limits: Add a limit on number of lines per message
More vertical space -> more cost
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 24 Jun 2023 23:56:13 +0200 |
| parent | 5565:b97ae1cd7813 |
| child | 5567:d52cc18f0aa8 |
comparison
equal
deleted
inserted
replaced
| 5565:b97ae1cd7813 | 5566:f71d66bd87be |
|---|---|
| 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_line_count 23 The maximum allowed number of lines in a message | |
| 43 | 44 |
| 44 For more understanding of how these values are used, see the algorithm | 45 For more understanding of how these values are used, see the algorithm |
| 45 section below. | 46 section below. |
| 46 | 47 |
| 47 Algorithm | 48 Algorithm |