emqx_limiter_schema.hocon 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. emqx_limiter_schema {
  2. max_conn_rate.desc:
  3. """Maximum connection rate.<br/>
  4. This is used to limit the connection rate for this node.
  5. Once the limit is reached, new connections will be deferred or refused.<br/>
  6. For example:<br/>
  7. - <code>1000/s</code> :: Only accepts 1000 connections per second<br/>
  8. - <code>1000/10s</code> :: Only accepts 1000 connections every 10 seconds."""
  9. max_conn_rate.label:
  10. """Maximum Connection Rate"""
  11. messages_rate.desc:
  12. """Messages publish rate.<br/>
  13. This is used to limit the inbound message numbers for this node.
  14. Once the limit is reached, the restricted client will slow down and even be hung for a while.<br/>
  15. For example:<br/>
  16. - <code>500/s</code> :: Only the first 500 messages are sent per second and other messages are buffered.<br/>
  17. - <code>500/10s</code> :: Only the first 500 messages are sent even 10 second and other messages are buffered."""
  18. messages_rate.label:
  19. """Messages Publish Rate"""
  20. bytes_rate.desc:
  21. """Data publish rate.<br/>
  22. This is used to limit the inbound bytes rate for this node.
  23. Once the limit is reached, the restricted client will slow down and even be hung for a while.<br/>
  24. The unit of the bytes could be:KB MB GB.<br/>
  25. For example:<br/>
  26. - <code>500KB/s</code> :: Only the first 500 kilobytes are sent per second and other messages are buffered.<br/>
  27. - <code>500MB/10s</code> :: Only the first 500 megabytes are sent even 10 second and other messages are buffered."""
  28. bytes_rate.label:
  29. """Data Publish Rate"""
  30. }