Background task manager #332

Merged
lx merged 35 commits from background-task-manager into main 2022-07-08 11:30:32 +00:00
Showing only changes of commit fdfe7dd60d - Show all commits

View file

@ -738,7 +738,7 @@ impl Worker for ResyncWorker {
if elen > 0 {
ret.push(format!("{} blocks in error state", elen));
}
if ret.len() > 0 {
if !ret.is_empty() {
Some(ret.join(", "))
} else {
None