mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-13 14:20:14 +08:00
Merge #5339
5339: Add back timeout from v1.11.3 r=Kerollmops a=dureuill # Pull Request ## Related issue Fixes #5337 ## What does this PR do? - Fix regression compared with v1.11 by reintroducing the 30s timeout on all REST API calls. Thanks to `@migueltarga` for reporting the issue Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
commit
fa763ca5dc
@ -130,6 +130,7 @@ impl Embedder {
|
||||
let client = ureq::AgentBuilder::new()
|
||||
.max_idle_connections(REQUEST_PARALLELISM * 2)
|
||||
.max_idle_connections_per_host(REQUEST_PARALLELISM * 2)
|
||||
.timeout(std::time::Duration::from_secs(30))
|
||||
.build();
|
||||
|
||||
let request = Request::new(options.request)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user