This module tries to squash incoming identical presence stanzas to save some bandwidth at the cost of increased memory use.
Option | Type | Default |
---|---|---|
presence_dedup_cache_size | number | 100 |
The only setting controls how many presence stanzas per session are kept in memory for comparing with incoming presenece.
Requires Prosody 0.10 or later.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_presence_dedup
For earlier versions see the documentation for installing 3rd party modules