]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Redis_history: Fix docs
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Dec 2021 20:18:39 +0000 (20:18 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Dec 2021 20:18:39 +0000 (20:18 +0000)
Issue: #3997

src/plugins/lua/history_redis.lua

index c14b8d32abea8cb19614a62fa0e7215cb13fcb75..fa9db5b8567280da6cc181dcaeac831cb66bd6ce 100644 (file)
@@ -19,13 +19,20 @@ if confighelp then
       "Store history of checks for WebUI using Redis",
       [[
 redis_history {
-  key_prefix = 'rs_history', # default key name
-  nrows = 200; # default rows limit
-  compress = true; # use zstd compression when storing data in redis
-  subject_privacy = false; # subject privacy is off
-  subject_privacy_alg = 'blake2'; # default hash-algorithm to obfuscate subject
-  subject_privacy_prefix = 'obf'; # prefix to show it's obfuscated
-  subject_privacy_length = 16; # cut the length of the hash
+  # History key name
+  key_prefix = 'rs_history';
+  # History rows limit
+  nrows = 200;
+  # Use zstd compression when storing data in redis
+  compress = true;
+  # Obfuscate subjects for privacy
+  subject_privacy = false;
+  # Default hash-algorithm to obfuscate subject
+  subject_privacy_alg = 'blake2';
+  # Prefix to show it's obfuscated
+  subject_privacy_prefix = 'obf';
+  # Cut the length of the hash if desired
+  subject_privacy_length = 16;
 }
   ]])
   return