You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

history_redis.conf 1.0KB

12345678910111213141516171819202122232425
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify 'local.d/history_redis.conf' to add and merge
  5. # parameters defined inside this section
  6. #
  7. # You can modify 'override.d/history_redis.conf' to strictly override all
  8. # parameters defined inside this section
  9. #
  10. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  11. # for details
  12. #
  13. # Module documentation can be found at https://rspamd.com/doc/modules/history_redis.html
  14. history_redis {
  15. #servers = 127.0.0.1:6379; # Redis server to store history
  16. key_prefix = "rs_history{{HOSTNAME}}{{COMPRESS}}"; # Default key name template
  17. nrows = 200; # Default rows limit
  18. compress = true; # Use zstd compression when storing data in redis
  19. subject_privacy = false; # subject privacy is off
  20. .include(try=true,priority=5) "${DBDIR}/dynamic/history_redis.conf"
  21. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/history_redis.conf"
  22. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/history_redis.conf"
  23. }