mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
fixed rm before online del, mirror bug
This commit is contained in:
1 parent
1cd6a26be3
commit
bd17d506f8
9 files changed
+288
-144
No files matched your search
@@ -1681,14 +1681,20 @@ impl Core {
|
||||
});
|
||||
}
|
||||
let mut out = Vec::new();
|
||||
let mut join_errors = 0usize;
|
||||
while let Some(joined) = set.join_next().await {
|
||||
match joined {
|
||||
Ok(result) => out.push(result),
|
||||
Err(e) => warn!(error = %e, "sync: task panicked"),
|
||||
Err(e) => {
|
||||
join_errors += 1;
|
||||
warn!(error = %e, "sync: task panicked");
|
||||
}
|
||||
}
|
||||
}
|
||||
out
|
||||
(out, join_errors)
|
||||
});
|
||||
let (results, join_errors) = results;
|
||||
outcome.errors += join_errors;
|
||||
for result in results {
|
||||
match result {
|
||||
Ok(applied) => {
|
||||
|
||||
Reference in new issue
Block a user