Mercurial > prosody-modules
changeset 929:9eefbaba274d
mod_c2s_conn_throttle: shorten / update header, as wiki was added.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 12 Mar 2013 19:05:03 +0100 |
parents | 0a78ac54bd03 |
children | c08b424583c3 |
files | mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua Thu Mar 07 18:26:07 2013 +0100 +++ b/mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua Tue Mar 12 19:05:03 2013 +0100 @@ -1,9 +1,5 @@ -- Clients Connection Throttler. --- Usage: --- Add the module into modules loaded into the virtual host section --- --- cthrottler_logins_count = 3 -> number of logins attempt allowed --- cthrottler_time = 120 -> in x seconds +-- (C) 2012-2013, Marco Cirillo (LW.Org) local time = os.time local in_count = {}