From 9e6c8103eee173e5c97bbbed5cd010c86c07896f Mon Sep 17 00:00:00 2001
From: Nitish Tiwari <tiwari.nitish@gmail.com>
Date: Fri, 29 Dec 2023 09:59:29 +0530
Subject: [PATCH] temp

---
 server/src/option.rs | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/server/src/option.rs b/server/src/option.rs
index 59a19efc6..cd9c2acfa 100644
--- a/server/src/option.rs
+++ b/server/src/option.rs
@@ -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)