mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-08-01 19:30:01 +00:00
Add back timeout from v1.11.3
This commit is contained in:
@ -130,6 +130,7 @@ impl Embedder {
|
|||||||
let client = ureq::AgentBuilder::new()
|
let client = ureq::AgentBuilder::new()
|
||||||
.max_idle_connections(REQUEST_PARALLELISM * 2)
|
.max_idle_connections(REQUEST_PARALLELISM * 2)
|
||||||
.max_idle_connections_per_host(REQUEST_PARALLELISM * 2)
|
.max_idle_connections_per_host(REQUEST_PARALLELISM * 2)
|
||||||
|
.timeout(std::time::Duration::from_secs(30))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let request = Request::new(options.request)?;
|
let request = Request::new(options.request)?;
|
||||||
|
Reference in New Issue
Block a user