Skip to content

Commit 4d4bbc3

Browse files
authored
Fix timeout of 0s (#1047)
1 parent a94d751 commit 4d4bbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ def _job_popen(commands, # type: List[Text]
757757
sproc.stdin.close()
758758

759759
tm = None
760-
if timelimit is not None:
760+
if timelimit is not None and timelimit > 0:
761761
def terminate():
762762
try:
763763
_logger.warning(

0 commit comments

Comments
 (0)