mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
Also add proxy to zed http client (#7184)
Follow up to #6765 because I couldn't figure out how to add to that PR. Release Notes: - N/A
This commit is contained in:
parent
5e81d780bd
commit
3df7da236d
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ pub fn zed_client(zed_host: &str) -> Arc<ZedHttpClient> {
|
|||
isahc::HttpClient::builder()
|
||||
.connect_timeout(Duration::from_secs(5))
|
||||
.low_speed_timeout(100, Duration::from_secs(5))
|
||||
.proxy(http_proxy_from_env())
|
||||
.build()
|
||||
.unwrap(),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue