We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a48932 commit daca366Copy full SHA for daca366
src/api.rs
@@ -122,7 +122,9 @@ impl ApiClient {
122
args: &PushQueryParams,
123
hash: String,
124
) -> Result<PullResponse> {
125
- let client = reqwest::Client::new();
+ let client = reqwest::ClientBuilder::new()
126
+ .tcp_keepalive(Some(std::time::Duration::from_secs(2 * 60 * 60)))
127
+ .build()?;
128
129
let tok = self.token()?.clone();
130
let scheduler_host = self.get_scheduler_host().clone();
0 commit comments