mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Fix a typo on timeout_ms used for multi index search
This commit is contained in:
parent
c8832409ad
commit
d4d2a2303a
@ -202,7 +202,7 @@ pub async fn search_multi_index(mut ctx: Context<Data>) -> SResult<Response> {
|
|||||||
search_builder.filters(filters);
|
search_builder.filters(filters);
|
||||||
}
|
}
|
||||||
if let Some(timeout_ms) = par_body.timeout_ms {
|
if let Some(timeout_ms) = par_body.timeout_ms {
|
||||||
search_builder.timeout(Duration::from_secs(timeout_ms));
|
search_builder.timeout(Duration::from_millis(timeout_ms));
|
||||||
}
|
}
|
||||||
if let Some(matches) = par_body.matches {
|
if let Some(matches) = par_body.matches {
|
||||||
if matches {
|
if matches {
|
||||||
|
Loading…
Reference in New Issue
Block a user