From 907e59027d4ff3ca661e712b77eff03d1434213e Mon Sep 17 00:00:00 2001 From: rustmailer Date: Thu, 14 May 2026 20:40:38 +0800 Subject: [PATCH] update --- crates/core/src/settings/cli.rs | 16 ---------------- crates/core/src/settings/mod.rs | 4 ---- .../features/settings/configurations/index.tsx | 2 -- 3 files changed, 22 deletions(-) diff --git a/crates/core/src/settings/cli.rs b/crates/core/src/settings/cli.rs index 9a6a1c2..3c1f091 100644 --- a/crates/core/src/settings/cli.rs +++ b/crates/core/src/settings/cli.rs @@ -213,22 +213,6 @@ pub struct Settings { }) )] pub bichon_data_dir: Option, - #[clap( - long, - env, - default_value = "134217728", - help = "Set the cache size for bichon metadata database in bytes" - )] - pub bichon_metadata_cache_size: Option, - - #[clap( - long, - env, - default_value = "134217728", - help = "Set the cache size for envelope database in bytes" - )] - pub bichon_envelope_cache_size: Option, - /// Enables or disables HTTPS for REST API endpoints. /// /// When set to `true`, the REST API will use HTTPS with a valid SSL/TLS certificate for secure communication. diff --git a/crates/core/src/settings/mod.rs b/crates/core/src/settings/mod.rs index be7d9bb..827e836 100644 --- a/crates/core/src/settings/mod.rs +++ b/crates/core/src/settings/mod.rs @@ -45,8 +45,6 @@ pub struct SystemConfigurations { pub bichon_webui_token_expiration_hours: u32, pub bichon_root_dir: String, - pub bichon_metadata_cache_size: Option, - pub bichon_envelope_cache_size: Option, pub bichon_enable_rest_https: bool, pub bichon_http_compression_enabled: bool, @@ -84,8 +82,6 @@ impl From<&Settings> for SystemConfigurations { || s.bichon_encrypt_password_file.is_some(), bichon_webui_token_expiration_hours: s.bichon_webui_token_expiration_hours, bichon_root_dir: s.bichon_root_dir.clone(), - bichon_metadata_cache_size: s.bichon_metadata_cache_size, - bichon_envelope_cache_size: s.bichon_envelope_cache_size, bichon_enable_rest_https: s.bichon_enable_rest_https, bichon_http_compression_enabled: s.bichon_http_compression_enabled, bichon_sync_concurrency: s.bichon_sync_concurrency, diff --git a/web/src/features/settings/configurations/index.tsx b/web/src/features/settings/configurations/index.tsx index 2f676b2..1296dbc 100644 --- a/web/src/features/settings/configurations/index.tsx +++ b/web/src/features/settings/configurations/index.tsx @@ -200,8 +200,6 @@ export default function ServerConfigurationsPage() { {data!.bichon_root_dir}} /> {data!.bichon_data_dir} : "—"} /> {data!.bichon_index_dir} : "—"} /> - -