From b75c402c9f3cf862fba9065f09c763ff63d5f0ae Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Fri, 9 Aug 2024 00:13:13 +0200 Subject: [PATCH] made sure that meilisearch is polled a bit less frequently during initialisation to have less log-spam --- server/src/setup/meilisearch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/setup/meilisearch.rs b/server/src/setup/meilisearch.rs index bfc9b43c2..0c2151f6e 100644 --- a/server/src/setup/meilisearch.rs +++ b/server/src/setup/meilisearch.rs @@ -8,7 +8,7 @@ use serde_json::Value; use tracing::{debug, error, info}; const TIMEOUT: Option = Some(Duration::from_secs(20)); -const POLLING_RATE: Option = Some(Duration::from_millis(50)); +const POLLING_RATE: Option = Some(Duration::from_millis(250)); #[derive(serde::Deserialize)] struct Synonyms(HashMap>);