From 7326a8c2768ee7079cda638fcc6b37a2a7a731ec Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Mon, 20 Oct 2025 14:19:41 +0300 Subject: [PATCH] [Minor] Tidy utils/fuzzy_redis_migrate.pl --- utils/fuzzy_redis_migrate.pl | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/utils/fuzzy_redis_migrate.pl b/utils/fuzzy_redis_migrate.pl index 1a8bc892ee..9736ca8252 100755 --- a/utils/fuzzy_redis_migrate.pl +++ b/utils/fuzzy_redis_migrate.pl @@ -21,8 +21,8 @@ fuzzy_redis_migrate.pl - Rspamd Fuzzy Backend Redis Migration Tool =head1 DESCRIPTION -This tool migrates Rspamd fuzzy backend data between Redis instances with -flag filtering, TTL preservation, and automatic shingle handling. +This tool migrates Rspamd fuzzy backend data between Redis instances with flag filtering, TTL preservation, and +automatic shingle handling. Key features: @@ -104,15 +104,13 @@ Key prefix in Redis (default: fuzzy) =item B<--scan-count> N -Redis SCAN COUNT parameter (default: 5000) -Higher values = faster but more Redis load. -Use 100-500 for high-load production, 1000-10000 for idle/maintenance. +Redis SCAN COUNT parameter (default: 5000) Higher values = faster but more Redis load. Use 100-500 for high-load +production, 1000-10000 for idle/maintenance. =item B<--pipeline-size> N -Number of Redis commands to pipeline (default: 500) -Higher values = faster but more memory. -Use 50-100 for limited RAM, 200-1000 for servers with lots of RAM. +Number of Redis commands to pipeline (default: 500) Higher values = faster but more memory. Use 50-100 for limited RAM, +200-1000 for servers with lots of RAM. =back @@ -122,8 +120,7 @@ Use 50-100 for limited RAM, 200-1000 for servers with lots of RAM. =item B<--flags> FLAG [FLAG...] -Fuzzy flags to filter and export (required for export) -Examples: --flags 1 or --flags 1 8 11 +Fuzzy flags to filter and export (required for export) Examples: --flags 1 or --flags 1 8 11 =item B<--export> FILE -- 2.47.3