Handle the CLI options related to snapshots

This commit is contained in:
Kerollmops 2022-10-25 16:28:33 +02:00 committed by Tamo
parent 90f1334757
commit 9d5dfa7552
3 changed files with 39 additions and 29 deletions

View file

@ -46,7 +46,6 @@ async fn main() -> anyhow::Result<()> {
}
let (index_scheduler, auth_controller) = setup_meilisearch(&opt)?;
let index_scheduler = Arc::new(index_scheduler);
#[cfg(all(not(debug_assertions), feature = "analytics"))]
let analytics = if !opt.no_analytics {