mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
udpate the analytics with the new stats method
This commit is contained in:
parent
c92948b143
commit
04c4487660
2 changed files with 19 additions and 8 deletions
|
@ -57,7 +57,8 @@ async fn main() -> anyhow::Result<()> {
|
|||
|
||||
#[cfg(all(not(debug_assertions), feature = "analytics"))]
|
||||
let analytics = if !opt.no_analytics {
|
||||
analytics::SegmentAnalytics::new(&opt, index_scheduler.clone()).await
|
||||
analytics::SegmentAnalytics::new(&opt, index_scheduler.clone(), auth_controller.clone())
|
||||
.await
|
||||
} else {
|
||||
analytics::MockAnalytics::new(&opt)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue