Skip to content

Commit

Permalink
Merge pull request #440 from brianhlin/HTCONDOR-350.v4.walltime-fix
Browse files Browse the repository at this point in the history
SYSTEM_PERIODIC_REMOVE walltime fixes for HTCondor-CE 4 (HTCONDOR-350)
  • Loading branch information
brianhlin authored Mar 26, 2021
2 parents 458678d + 8a3d0db commit 844cc07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/01-ce-router-defaults.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ REMOVE_REASON_3 = strcat("job completed over ", $(COMPLETED_JOB_EXPIRATION), " d
# Remove jobs that have exceeded configured or requested max wall time
REMOVE_CLAUSE_4 = (JobUniverse == 5 && \
JobStatus == 2 && \
time() - JobCurrentStartExecutingDate > \
maxWalltime is undefined ? $(ROUTED_JOB_MAX_TIME)*60 : maxWalltime*60 )
(time() - JobCurrentStartDate) > \
(maxWalltime is undefined ? $(ROUTED_JOB_MAX_TIME)*60 : maxWalltime*60) )
REMOVE_REASON_4 = strcat("job exceeded allowed walltime: ", \
maxWalltime is undefined ? $(ROUTED_JOB_MAX_TIME)*60 : maxWalltime*60, \
"min")
" minutes.")

SYSTEM_PERIODIC_REMOVE = $(REMOVE_CLAUSE_1) || \
$(REMOVE_CLAUSE_2) || \
Expand Down

0 comments on commit 844cc07

Please sign in to comment.