prosody: enable limits

* feat: Enables limits with default values from upstream.

* feat: Enables limits_exception module and adding jicofo and jvb.

Removes the limits for the jicofo and jvb connections.
This commit is contained in:
Дамян Минков
2021-06-07 13:09:26 -05:00
committed by GitHub
parent db3d790e52
commit 6f6fe7717c
2 changed files with 19 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ modules_enabled = {
-- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.)
"vcard"; -- Allow users to set vCards
"limits"; -- Enable bandwidth limiting for XMPP connections
-- These are commented by default as they have a performance impact
--"privacy"; -- Support privacy lists
@@ -93,6 +94,16 @@ allow_registration = false;
daemonize = false;
-- Enable rate limits for incoming client and server connections
limits = {
c2s = {
rate = "10kb/s";
};
s2sin = {
rate = "30kb/s";
};
}
pidfile = "/config/data/prosody.pid";
-- Force clients to use encrypted connections? This option will