flapping_detect.conf.example 689 B

123456789101112131415161718192021
  1. ##--------------------------------------------------------------------
  2. ## Flapping Detect
  3. ##
  4. ## Ban the client when the times of connections exceed the limit in the time window
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. flapping_detect {
  9. ## use false to disabled
  10. enable = true
  11. ## Time window for flapping detection
  12. window_time = 1m
  13. ## Maximum number of connects allowed for a MQTT Client in window_time
  14. max_count = 15
  15. ## How long the flapping clientid will be banned
  16. ban_time = 5m
  17. }