From ed750e8792d2ec6f893209d6ef0ab602ddd14c39 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 27 Oct 2021 14:32:15 +0200 Subject: [PATCH] fix start_since_day --- meilisearch-http/src/analytics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/analytics.rs b/meilisearch-http/src/analytics.rs index 3184602d2..0c576a5a2 100644 --- a/meilisearch-http/src/analytics.rs +++ b/meilisearch-http/src/analytics.rs @@ -135,7 +135,7 @@ mod segment { "database_size": stats.database_size, "indexes_number": stats.indexes.len(), "documents_number": number_of_documents, - "start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / 60 * 60 * 24, // one day + "start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / (60 * 60 * 24), // one day }, "infos": infos, })