sync job: correctly apply rate limit
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
3b5473a682
commit
c1e6efa8e1
@ -607,7 +607,8 @@ pub async fn pull_group(
|
||||
// get updated auth_info (new tickets)
|
||||
let auth_info = client.login().await?;
|
||||
|
||||
let options = HttpClientOptions::new_non_interactive(auth_info.ticket.clone(), fingerprint.clone());
|
||||
let options = HttpClientOptions::new_non_interactive(auth_info.ticket.clone(), fingerprint.clone())
|
||||
.rate_limit(params.limit.clone());
|
||||
|
||||
let new_client = HttpClient::new(
|
||||
params.source.host(),
|
||||
|
Loading…
Reference in New Issue
Block a user