Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht committed Dec 29, 2023
1 parent 69d5ea3 commit 9e6c810
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions server/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,25 +418,6 @@ impl Server {
.value_parser(validation::cache_size)
.help("Maximum allowed cache size for all streams combined (In human readable format, e.g 1GiB, 2GiB, 100MB)")
.next_line_help(true),
)
.arg(
Arg::new(Self::CACHE)
.long(Self::CACHE)
.env("P_CACHE_DIR")
.value_name("DIR")
.value_parser(validation::canonicalize_path)
.help("Local path to be used for caching latest files")
.next_line_help(true),
)
.arg(
Arg::new(Self::CACHE_SIZE)
.long(Self::CACHE_SIZE)
.env("P_CACHE_SIZE")
.value_name("size")
.default_value("1Gib")
.value_parser(validation::human_size_to_bytes)
.help("Size for cache in human readable format (e.g 1GiB, 2GiB, 100MB)")
.next_line_help(true),
)
.arg(
Arg::new(Self::UPLOAD_INTERVAL)
Expand Down

0 comments on commit 9e6c810

Please sign in to comment.