Skip to content

Commit

Permalink
made sure that meilisearch is polled a bit less frequently during ini…
Browse files Browse the repository at this point in the history
…tialisation to have less log-spam
  • Loading branch information
CommanderStorm committed Aug 8, 2024
1 parent 7ec06cf commit b75c402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/setup/meilisearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use serde_json::Value;
use tracing::{debug, error, info};

const TIMEOUT: Option<Duration> = Some(Duration::from_secs(20));
const POLLING_RATE: Option<Duration> = Some(Duration::from_millis(50));
const POLLING_RATE: Option<Duration> = Some(Duration::from_millis(250));

#[derive(serde::Deserialize)]
struct Synonyms(HashMap<String, Vec<String>>);
Expand Down

0 comments on commit b75c402

Please sign in to comment.