This commit is contained in:
rustmailer
2026-05-14 20:40:38 +08:00
parent 3ea330c884
commit 907e59027d
3 changed files with 0 additions and 22 deletions
-16
View File
@@ -213,22 +213,6 @@ pub struct Settings {
})
)]
pub bichon_data_dir: Option<String>,
#[clap(
long,
env,
default_value = "134217728",
help = "Set the cache size for bichon metadata database in bytes"
)]
pub bichon_metadata_cache_size: Option<usize>,
#[clap(
long,
env,
default_value = "134217728",
help = "Set the cache size for envelope database in bytes"
)]
pub bichon_envelope_cache_size: Option<usize>,
/// 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.
-4
View File
@@ -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<usize>,
pub bichon_envelope_cache_size: Option<usize>,
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,