mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-16 23:43:27 +01:00
Add more detailed comments for max_indexing_threads
This commit is contained in:
parent
a2d7c16f91
commit
98107565c0
@ -31,6 +31,9 @@ pub struct IndexerOpts {
|
|||||||
pub max_indexing_memory: MaxMemory,
|
pub max_indexing_memory: MaxMemory,
|
||||||
|
|
||||||
/// The maximum number of threads the indexer will use.
|
/// The maximum number of threads the indexer will use.
|
||||||
|
/// If the number set is higher than the real number of cores available in the machine,
|
||||||
|
/// it will use the maximum number of available cores.
|
||||||
|
///
|
||||||
/// It defaults to half of the available threads.
|
/// It defaults to half of the available threads.
|
||||||
#[clap(long, env = "MEILI_MAX_INDEXING_THREADS", default_value_t)]
|
#[clap(long, env = "MEILI_MAX_INDEXING_THREADS", default_value_t)]
|
||||||
pub max_indexing_threads: MaxThreads,
|
pub max_indexing_threads: MaxThreads,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user