Make backup # steps larger
This commit is contained in:
parent
6b52a93795
commit
a59d4c74dc
|
@ -36,7 +36,7 @@ impl FullEncryptedBackup {
|
||||||
let dst_path = self.tmp_dir.join(db_name);
|
let dst_path = self.tmp_dir.join(db_name);
|
||||||
let mut dst = Connection::open(&dst_path)?;
|
let mut dst = Connection::open(&dst_path)?;
|
||||||
let backup = Backup::new(src, &mut dst)?;
|
let backup = Backup::new(src, &mut dst)?;
|
||||||
backup.run_to_completion(5, time::Duration::from_millis(250), None)?;
|
backup.run_to_completion(100, time::Duration::from_millis(250), None)?;
|
||||||
self.db_names.push(db_name.to_string());
|
self.db_names.push(db_name.to_string());
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue