Software /
code /
prosody-modules
Comparison
mod_limits_exception/README.markdown @ 4562:28c16c93d79a
mod_limits_exception: New module to except some JIDs from rate limiting
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 24 May 2021 15:46:11 +0100 |
comparison
equal
deleted
inserted
replaced
4561:c6b740ccf6ec | 4562:28c16c93d79a |
---|---|
1 --- | |
2 summary: Allow specified JIDs to bypass rate limits | |
3 ... | |
4 | |
5 This module allows you to configure a list of JIDs that should be allowed to | |
6 bypass rate limit restrictions. | |
7 | |
8 It is designed for Prosody 0.11.x. Prosody 0.12.x supports this feature | |
9 natively. | |
10 | |
11 ## Configuration | |
12 | |
13 First, enable this module by adding `"limits_exception"` to your | |
14 `modules_enabled` list. | |
15 | |
16 Next, configure a list of JIDs to exclude from rate limiting: | |
17 | |
18 ``` | |
19 unlimited_jids = { "user1@example.com", "user2@example.net" } | |
20 ``` | |
21 | |
22 ## Compatibility | |
23 | |
24 Made for Prosody 0.11.x only. | |
25 | |
26 Using this module with Prosody trunk/0.12 may cause unexpected behaviour. |