fix(task): update tracked time while task is active
This commit is contained in:
parent
cdd6981bf6
commit
eb7e571f1e
|
@ -122,6 +122,9 @@ impl Task {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if let Some(start) = start {
|
||||||
|
total += (Timestamp::now() - start).as_u64();
|
||||||
|
}
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue