Skip to content

Commit

Permalink
优化代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Apr 18, 2024
1 parent ecc3d65 commit 52d0979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kr2r/src/bin/hashshard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub struct Args {
/// Specifies the hash file capacity. Acceptable formats include numeric values followed by 'K', 'M', or 'G' (e.g., '1.5G', '250M', '1024K').
/// Note: The specified capacity affects the index size, with a factor of 4 applied. For example, specifying '1G' results in an index size of '4G'.
/// Default: 1G (capacity 1G = file size 4G)
#[clap(long = "hash-capacity", value_parser = parse_size, default_value = "1G")]
#[clap(long = "hash-capacity", value_parser = parse_size, default_value = "1G", help = "Specifies the hash file capacity.\nAcceptable formats include numeric values followed by 'K', 'M', or 'G' (e.g., '1.5G', '250M', '1024K').\nNote: The specified capacity affects the index size, with a factor of 4 applied.\nFor example, specifying '1G' results in an index size of '4G'.\nDefault: 1G (capacity 1G = file size 4G)")]
hash_capacity: usize,
}

Expand Down

0 comments on commit 52d0979

Please sign in to comment.