fix(task): update tracked time while task is active

This commit is contained in:
xeruf 2024-07-29 14:01:33 +03:00
parent cdd6981bf6
commit eb7e571f1e
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ impl Task {
}
}
}
if let Some(start) = start {
total += (Timestamp::now() - start).as_u64();
}
total
}