mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
chore: Remove commented out code following 15446 (#18047)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
b43b800a54
commit
43e005e936
1 changed files with 1 additions and 11 deletions
|
@ -343,17 +343,7 @@ pub async fn preload_model(client: Arc<dyn HttpClient>, api_url: &str, model: &s
|
|||
}),
|
||||
)?))?;
|
||||
|
||||
let mut response = match client.send(request).await {
|
||||
Ok(response) => response,
|
||||
Err(error) => {
|
||||
// Be ok with a timeout during preload of the model
|
||||
// if err.is_timeout() {
|
||||
// return Ok(());
|
||||
// } else {
|
||||
return Err(error);
|
||||
//}
|
||||
}
|
||||
};
|
||||
let mut response = client.send(request).await?;
|
||||
|
||||
if response.status().is_success() {
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue