Skip to content

Commit

Permalink
dont use keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
kcking committed Oct 12, 2021
1 parent 79139ea commit 5a48932
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,7 @@ impl BuildRecall for ApiClient {

handle
.spawn_blocking(move || -> Result<bool> {
let client = reqwest::blocking::ClientBuilder::new()
.tcp_keepalive(Some(std::time::Duration::from_secs(60)))
.build()?;
let client = reqwest::blocking::Client::new();

let resp = client
.get(artifact_url)
Expand Down

0 comments on commit 5a48932

Please sign in to comment.