mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
refactor!: replace Tantivy search engine with DuckDB
This commit is contained in:
@@ -247,6 +247,21 @@ pub struct Settings {
|
||||
value_parser = clap::value_parser!(u16).range(1..)
|
||||
)]
|
||||
pub bichon_sync_concurrency: Option<u16>,
|
||||
|
||||
#[clap(
|
||||
long,
|
||||
env,
|
||||
help = "Number of DuckDB execution threads (default: auto)",
|
||||
value_parser = clap::value_parser!(u16).range(1..)
|
||||
)]
|
||||
pub bichon_duckdb_threads: Option<i64>,
|
||||
|
||||
#[clap(
|
||||
long,
|
||||
env,
|
||||
help = "Maximum memory DuckDB may use (e.g. 512MB, 2GB, 80%)"
|
||||
)]
|
||||
pub bichon_duckdb_max_memory: Option<String>,
|
||||
}
|
||||
|
||||
impl Settings {
|
||||
|
||||
Reference in New Issue
Block a user