Skip to content

Commit

Permalink
docs: Documented -1 value for --mem-limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jun 21, 2024
1 parent 943e45b commit 9f20f6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class RedisReaderArgs {
@Option(names = "--read-from", description = "Which Redis cluster nodes to read from: ${COMPLETION-CANDIDATES}.", paramLabel = "<name>")
private RedisReadFrom readFrom;

@Option(names = "--mem-limit", description = "Max mem usage for a key to be read (default: ${DEFAULT-VALUE}). Use 0 to disable checks. Examples: 12KB, 5MB", paramLabel = "<size>")
@Option(names = "--mem-limit", description = "Max mem usage for a key to be read (default: ${DEFAULT-VALUE}). Use 0 for no limit, -1 to disable. Examples: 12KB, 5MB", paramLabel = "<size>")
private DataSize memUsageLimit = DEFAULT_MEMORY_USAGE_LIMIT;

@Option(names = "--mem-samples", description = "Number of memory usage samples for a key (default: ${DEFAULT-VALUE}).", paramLabel = "<int>")
Expand Down

0 comments on commit 9f20f6a

Please sign in to comment.