Mercurial > prosody-modules
diff 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 |
parents | b97ae1cd7813 |
children | d52cc18f0aa8 |
line wrap: on
line diff
--- a/mod_muc_limits/README.markdown Sat Jun 24 23:53:48 2023 +0200 +++ b/mod_muc_limits/README.markdown Sat Jun 24 23:56:13 2023 +0200 @@ -36,10 +36,11 @@ You can define (globally or per-MUC component) the following options: Name Default value Description - --------------------- --------------- ---------------------------------------------- + --------------------- --------------- -------------------------------------------------- muc_event_rate 0.5 The maximum number of events per second. muc_burst_factor 6 Allow temporary bursts of this multiple. muc_max_nick_length 23 The maximum allowed length of user nicknames + muc_max_line_count 23 The maximum allowed number of lines in a message For more understanding of how these values are used, see the algorithm section below.