Mercurial > prosody-wiki
comparison mod_muc_limits.wiki @ 293:341195fb3d62
Added config example
author | MWild1@gmail.com |
---|---|
date | Thu, 19 Jul 2012 18:32:20 +0000 |
parents | 440f4d3ee523 |
children |
comparison
equal
deleted
inserted
replaced
292:7699308b4f9b | 293:341195fb3d62 |
---|---|
15 * Messages (including private messages) | 15 * Messages (including private messages) |
16 | 16 |
17 The limit is for the room as a whole, not individual occupants in the room. Users with an affiliation (members, admins and owners) are not limited. | 17 The limit is for the room as a whole, not individual occupants in the room. Users with an affiliation (members, admins and owners) are not limited. |
18 | 18 |
19 = Configuration = | 19 = Configuration = |
20 | |
21 Add the module to the MUC host (not the global modules_enabled): | |
22 | |
23 {{{ | |
24 Component "conference.example.com" "muc" | |
25 modules_enabled = { "muc_limits" } | |
26 }}} | |
27 | |
28 You can define (globally or per-MUC component) the following options: | |
20 | 29 |
21 || *Name* || *Default value* || *Description* || | 30 || *Name* || *Default value* || *Description* || |
22 || muc_event_rate || 0.5 || The maximum number of events per second. || | 31 || muc_event_rate || 0.5 || The maximum number of events per second. || |
23 || muc_burst_factor || 6 || Allow temporary bursts of this multiple. || | 32 || muc_burst_factor || 6 || Allow temporary bursts of this multiple. || |
24 | 33 |