Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Sep 13, 2024
1 parent 7264d3a commit f07830f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class TaskManagerMetricsCollector implements ITaskEventEmitter<TaskLifecy
return;
}
if(taskStatus == 'idle') {
if(taskStatus.value == 'idle') {
emit((new Date().getTime() - runAt.value.getMillis()) / 1000);
} else {
def retryAt = doc['task.retryAt'];
Expand Down

0 comments on commit f07830f

Please sign in to comment.