mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-03-11 16:58:32 +03:00
examples/upload-speed.rs: pass new benchmark parameter
This commit is contained in:
parent
04c2731349
commit
1a9948a488
@ -18,7 +18,7 @@ async fn upload_speed() -> Result<f64, Error> {
|
|||||||
|
|
||||||
let backup_time = chrono::Utc::now();
|
let backup_time = chrono::Utc::now();
|
||||||
|
|
||||||
let client = BackupWriter::start(client, None, datastore, "host", "speedtest", backup_time, false).await?;
|
let client = BackupWriter::start(client, None, datastore, "host", "speedtest", backup_time, false, true).await?;
|
||||||
|
|
||||||
println!("start upload speed test");
|
println!("start upload speed test");
|
||||||
let res = client.upload_speedtest(true).await?;
|
let res = client.upload_speedtest(true).await?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user