diff --git a/src/modules/settings/cli.rs b/src/modules/settings/cli.rs index 7599c7a..2a7df79 100644 --- a/src/modules/settings/cli.rs +++ b/src/modules/settings/cli.rs @@ -258,21 +258,6 @@ pub struct Settings { )] pub bichon_sync_concurrency: Option, - #[clap( - long, - env, - help = "Number of DuckDB execution threads (default: auto)", - value_parser = clap::value_parser!(u16).range(1..) - )] - pub bichon_duckdb_threads: Option, - - #[clap( - long, - env, - help = "Maximum memory DuckDB may use (e.g. 512MB, 2GB, 80%)" - )] - pub bichon_duckdb_max_memory: Option, - #[clap( long, env, diff --git a/src/modules/settings/mod.rs b/src/modules/settings/mod.rs index 6d67777..151234e 100644 --- a/src/modules/settings/mod.rs +++ b/src/modules/settings/mod.rs @@ -55,9 +55,6 @@ pub struct SystemConfigurations { pub bichon_index_dir: Option, pub bichon_data_dir: Option, - pub bichon_duckdb_threads: Option, - pub bichon_duckdb_max_memory: Option, - pub bichon_enable_smtp: bool, pub bichon_smtp_port: u16, pub bichon_smtp_encryption: String, @@ -94,8 +91,6 @@ impl From<&Settings> for SystemConfigurations { bichon_base_url: s.bichon_base_url.clone(), bichon_index_dir: s.bichon_index_dir.clone(), bichon_data_dir: s.bichon_data_dir.clone(), - bichon_duckdb_threads: s.bichon_duckdb_threads, - bichon_duckdb_max_memory: s.bichon_duckdb_max_memory.clone(), bichon_enable_smtp: s.bichon_enable_smtp, bichon_smtp_port: s.bichon_smtp_port, bichon_smtp_encryption: s.bichon_smtp_encryption.to_string(), diff --git a/web/src/api/system/api.ts b/web/src/api/system/api.ts index 9c06027..cfac15e 100644 --- a/web/src/api/system/api.ts +++ b/web/src/api/system/api.ts @@ -132,9 +132,6 @@ export type ServerConfigurations = { bichon_envelope_cache_size: number bichon_sync_concurrency?: number | null - bichon_duckdb_threads?: number | null - bichon_duckdb_max_memory?: string | null - bichon_enable_smtp: boolean bichon_smtp_port: number bichon_smtp_encryption: "none" | "starttls" | "tls" diff --git a/web/src/features/settings/configurations/index.tsx b/web/src/features/settings/configurations/index.tsx index 1cdfd75..39bee3f 100644 --- a/web/src/features/settings/configurations/index.tsx +++ b/web/src/features/settings/configurations/index.tsx @@ -129,7 +129,6 @@ export default function ServerConfigurationsPage() { return (
- {/* Header Section */}
@@ -145,73 +144,60 @@ export default function ServerConfigurationsPage() {
- - {/* Main Grid */}
- - {/* Network Settings */} - - - - + + + + } /> - - {/* SMTP Server (NEW) */} - } /> - - {data.bichon_smtp_encryption}} /> - } /> + } /> + + + } /> - - {/* Performance & Engine (NEWly structured) */} - - + } /> - - {/* Storage & Directories */} - {data.bichon_root_dir}} /> - {data.bichon_data_dir} : "—"} /> - {data.bichon_index_dir} : "—"} /> - - + {data.bichon_root_dir}} /> + {data.bichon_data_dir} : "—"} /> + {data.bichon_index_dir} : "—"} /> + + - - {/* Security & Access */} @@ -223,22 +209,20 @@ export default function ServerConfigurationsPage() { } /> - - {/* Logging Settings */} - {data.bichon_log_level}} /> - } /> - } /> - } /> - + {data.bichon_log_level}} /> + } /> + } /> + } /> +