Advertisement
chrissharp123

Untitled

Jan 21st, 2022
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. listen:
  2. -
  3. port: 5222
  4. ip: "::"
  5. module: ejabberd_c2s
  6. starttls_required: false
  7. protocol_options: 'TLS_OPTIONS'
  8. max_stanza_size: 2000000
  9. shaper: c2s_shaper
  10. access: c2s
  11. backlog: 10
  12.  
  13.  
  14. ###. ============
  15. ###' SHAPER RULES
  16.  
  17. shaper_rules:
  18. ## Maximum number of simultaneous sessions allowed for a single user:
  19. max_user_sessions: 10000
  20. ## Maximum number of offline messages that users can have:
  21. max_user_offline_messages:
  22. - 5000: admin
  23. - 100
  24. ## For C2S connections, all users except admins use the "normal" shaper
  25. c2s_shaper: none
  26. ## All S2S connections use the "fast" shaper
  27. s2s_shaper: none
  28.  
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement