Skip to content

Commit

Permalink
fix: in up/download stop timer for steps that are skipped (#2938)
Browse files Browse the repository at this point in the history
  • Loading branch information
mswertz authored Nov 8, 2023
1 parent 67a11dc commit 6d5dbcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public T setStatus(TaskStatus status) {
Objects.requireNonNull(status, "status can not be null");
if (RUNNING.equals(status)) {
this.startTimeMilliseconds = System.currentTimeMillis();
} else if (ERROR.equals(status) || COMPLETED.equals(status)) {
} else if (ERROR.equals(status) || COMPLETED.equals(status) || SKIPPED.equals(status)) {
if (startTimeMilliseconds == 0) {
this.startTimeMilliseconds = System.currentTimeMillis();
}
Expand Down

0 comments on commit 6d5dbcd

Please sign in to comment.