Skip to content

Commit 9e6c810

Browse files
committed
temp
1 parent 69d5ea3 commit 9e6c810

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

server/src/option.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -418,25 +418,6 @@ impl Server {
418418
.value_parser(validation::cache_size)
419419
.help("Maximum allowed cache size for all streams combined (In human readable format, e.g 1GiB, 2GiB, 100MB)")
420420
.next_line_help(true),
421-
)
422-
.arg(
423-
Arg::new(Self::CACHE)
424-
.long(Self::CACHE)
425-
.env("P_CACHE_DIR")
426-
.value_name("DIR")
427-
.value_parser(validation::canonicalize_path)
428-
.help("Local path to be used for caching latest files")
429-
.next_line_help(true),
430-
)
431-
.arg(
432-
Arg::new(Self::CACHE_SIZE)
433-
.long(Self::CACHE_SIZE)
434-
.env("P_CACHE_SIZE")
435-
.value_name("size")
436-
.default_value("1Gib")
437-
.value_parser(validation::human_size_to_bytes)
438-
.help("Size for cache in human readable format (e.g 1GiB, 2GiB, 100MB)")
439-
.next_line_help(true),
440421
)
441422
.arg(
442423
Arg::new(Self::UPLOAD_INTERVAL)

0 commit comments

Comments
 (0)