examples/upload-speed.rs: pass new benchmark parameter

This commit is contained in:
Dietmar Maurer 2020-09-10 09:34:51 +02:00
parent 04c2731349
commit 1a9948a488
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ async fn upload_speed() -> Result<f64, Error> {
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");
let res = client.upload_speedtest(true).await?;