Add instance options for RAM and CPU usage

This commit is contained in:
2shiori17 2022-03-24 18:52:36 +00:00
parent 7e65816d63
commit 705d10a96d
3 changed files with 58 additions and 16 deletions

View file

@ -145,8 +145,8 @@ pub struct Opt {
#[clap(long, env = "MEILI_LOG_LEVEL", default_value = "info")]
pub log_level: String,
#[serde(skip)]
#[clap(skip)]
#[serde(flatten)]
#[clap(flatten)]
pub indexer_options: IndexerOpts,
#[serde(flatten)]