Mercurial > prosody-wiki
comparison mod_c2s_conn_throttle.wiki @ 325:f4bacc3c5ac6
add wiki.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 12 Mar 2013 18:08:28 +0000 |
parents | |
children | 8fe2ec8a9f77 |
comparison
equal
deleted
inserted
replaced
324:859253320275 | 325:f4bacc3c5ac6 |
---|---|
1 #summary c2s connections throttling module | |
2 #labels Stage-Stable | |
3 | |
4 = Introduction = | |
5 | |
6 This module allows to throttle those client connections which exceed a [n]*[second] limit. | |
7 | |
8 = Usage = | |
9 | |
10 Copy the module folder into your prosody modules directory. | |
11 Place the module between your enabled modules either into the global or a vhost section. | |
12 | |
13 Optional configuration directives: | |
14 <code language="lua"> | |
15 cthrottler_logins_count = 3 -- number of logins attempt allowed, default is 3 | |
16 cthrottler_time = 60 -- .. in number of seconds, default is 60 | |
17 </code> | |
18 | |
19 = Info = | |
20 | |
21 * 0.8, works | |
22 * 0.9, works |