Increase rate limit for both c2s and s2s

This commit is contained in:
Daniel Berteaud 2013-05-04 13:03:16 +02:00
parent a9ae0c4c2b
commit 38a46f37aa
2 changed files with 7 additions and 4 deletions

View File

@ -3,11 +3,11 @@
% Users can use c2s connections:
{access, c2s, [{allow, all}]}.
% Set shaper with name "normal" to limit traffic speed to 3000B/s
{shaper, normal, {maxrate, 3000}}.
% Set shaper with name "normal" to limit traffic speed to 10000B/s
{shaper, normal, {maxrate, 10000}}.
% Set shaper with name "fast" to limit traffic speed to 100000B/s
{shaper, fast, {maxrate, 100000}}.
% Set shaper with name "fast" to limit traffic speed to 500000B/s
{shaper, fast, {maxrate, 500000}}.
% For all users except admins used "normal" shaper
{access, c2s_shaper, [{none, admin},

View File

@ -0,0 +1,3 @@
% Use TLS for s2s if available
\{s2s_use_starttls, true\}.
\{s2s_certfile, "/var/service/ejabberd/ssl/cert.pem"\}.