Skip to content

Commit

Permalink
Merge pull request #323 from KevFan/fix-batch-size-flag
Browse files Browse the repository at this point in the history
fix: use usize instead of u64 for batch-size arg
  • Loading branch information
KevFan authored May 14, 2024
2 parents 25346a6 + d149b66 commit b7984f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limitador-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ fn create_config() -> (Configuration, &'static str) {
Arg::new("batch")
.long("batch-size")
.action(ArgAction::Set)
.value_parser(clap::value_parser!(u64))
.value_parser(clap::value_parser!(usize))
.default_value(
config::env::REDIS_LOCAL_CACHE_BATCH_SIZE
.unwrap_or(leak(DEFAULT_BATCH_SIZE)),
Expand Down

0 comments on commit b7984f5

Please sign in to comment.