@@ -88,8 +88,8 @@ $graph:
88
88
* Added `InputParameter.loadContents` field. Use of `loadContents` in
89
89
`InputBinding` is deprecated; it is preserved for v1.0 backwards
90
90
compatability and will be removed in CWL v2.0.
91
- * [Added](#TimeLimit ) `TimeLimit ` feature, allowing to set an upper limit on the
92
- execution time of a CommandLineTool or ExpressionTool .
91
+ * [Added](#ToolTimeLimit ) `ToolTimeLimit ` feature, allows setting
92
+ an upper limit on the execution time of a CommandLineTool.
93
93
* [Added](#WorkReuse) `WorkReuse` feature, allowing to enable or disable the reuse
94
94
behavior for a particular tool or step for implementations that
95
95
support reusing output from past work.
@@ -1097,29 +1097,6 @@ $graph:
1097
1097
doc : Maximum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)
1098
1098
1099
1099
1100
- - type : record
1101
- name : TimeLimit
1102
- extends : ProcessRequirement
1103
- doc : |
1104
- Set an upper limit on the execution time of a process
1105
- (e.g. a CommandLineTool or a Workflow). A process whose
1106
- execution duration exceeds the time limit may be
1107
- preemptively terminated and considered failed. May also be
1108
- used by batch systems to make scheduling decisions.
1109
- fields :
1110
- - name : class
1111
- type : string
1112
- doc : " Always 'TimeLimit'"
1113
- jsonldPredicate :
1114
- " _id " : " @type"
1115
- " _type " : " @vocab"
1116
- - name : timelimit
1117
- type : [long, string, Expression]
1118
- doc : |
1119
- The time limit, in seconds. A time limit of zero means no
1120
- time limit. Negative time limits are an error.
1121
-
1122
-
1123
1100
- type : record
1124
1101
name : WorkReuse
1125
1102
extends : ProcessRequirement
@@ -1219,3 +1196,27 @@ $graph:
1219
1196
" _type " : " @vocab"
1220
1197
inplaceUpdate :
1221
1198
type : boolean
1199
+
1200
+ - type : record
1201
+ name : ToolTimeLimit
1202
+ extends : ProcessRequirement
1203
+ doc : |
1204
+ Set an upper limit on the execution time of a CommandLineTool.
1205
+ A CommandLineTool whose execution duration exceeds the time
1206
+ limit may be preemptively terminated and considered failed.
1207
+ May also be used by batch systems to make scheduling decisions.
1208
+ The execution duration excludes external operations, such as
1209
+ staging of files, pulling a docker image etc, and only counts
1210
+ wall-time for the execution of the command line itself.
1211
+ fields :
1212
+ - name : class
1213
+ type : string
1214
+ doc : " Always 'ToolTimeLimit'"
1215
+ jsonldPredicate :
1216
+ " _id " : " @type"
1217
+ " _type " : " @vocab"
1218
+ - name : timelimit
1219
+ type : [long, string, Expression]
1220
+ doc : |
1221
+ The time limit, in seconds. A time limit of zero means no
1222
+ time limit. Negative time limits are an error.
0 commit comments