mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-26 05:26:27 +00:00 
			
		
		
		
	Cap timeout duration
This commit is contained in:
		| @@ -178,6 +178,8 @@ impl Embedder { | ||||
|                     retry.into_duration(attempt) | ||||
|                 } | ||||
|             }?; | ||||
|  | ||||
|             let retry_duration = retry_duration.min(std::time::Duration::from_secs(60)); // don't wait more than a minute | ||||
|             tracing::warn!( | ||||
|                 "Attempt #{}, retrying after {}ms.", | ||||
|                 attempt, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user