Mercurial > prosody-modules
view mod_throttle_unsolicited/README.markdown @ 2209:2733cb8c82a9
mod_statistics: Add 'statistics_meminfo_interval' option to control the number of seconds between calls to mallinfo(). Between calls, cached results are used.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 13 Jun 2016 13:15:07 +0100 |
parents | 163d55777ad5 |
children | 1424aa8877f0 |
line wrap: on
line source
--- depends: - 'mod\_track\_muc\_joins' summary: Limit rate of outgoing unsolicited messages ... Introduction ============ This module limits the rate of outgoing unsolicited messages. A message counts as "unsolicited" if the receiving user hasn't added the sending user to their roster. The module depends on [mod\_track\_muc\_joins] in order to allow sent messages to joined MUC rooms. Configuration ============= ``` {.lua} unsolicited_messages_per_minute = 10 ```