force_gc.conf.example 668 B

123456789101112131415161718
  1. ##--------------------------------------------------------------------
  2. ## Force garbage collection
  3. ##
  4. ## Force garbage collection in MQTT connection process after they process certain number of messages or bytes of data
  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. force_gc {
  9. ## set to false to disable this
  10. enable = true
  11. ## GC the process after this many received messages
  12. count = 16000
  13. ## GC the process after specified number of bytes have passed through
  14. bytes = 16MB
  15. }