Skip to content

Commit

Permalink
if totalTaskTimeOut is 0 we shoudl return
Browse files Browse the repository at this point in the history
  • Loading branch information
Shailesh Jagannath Padave committed Nov 27, 2024
1 parent 79efa13 commit e922fff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ void checkTaskTimeout(TaskDef taskDef, TaskModel task) {
}
if (task.getStatus().isTerminal()
|| taskDef.getTimeoutSeconds() <= 0
|| taskDef.getTotalTimeoutSeconds() <= 0
|| task.getStartTime() <= 0) {
return;
}
Expand Down

0 comments on commit e922fff

Please sign in to comment.