Skip to content

Commit 3dda961

Browse files
authored
Merge pull request #6782 from oliver-sanders/docs++
docs: improve abort documentation
2 parents 04d9b2a + 786b599 commit 3dda961

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

cylc/flow/cfgspec/globalcfg.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,18 @@
220220
Workflow timeout interval. The timer starts counting down at scheduler
221221
startup. It resets on workflow restart.
222222
223+
When the workflow timeout is reached, any configured
224+
`[..]workflow timeout handlers` will be called. Additionally, the
225+
workflow will shut down if `[..]abort on workflow timeout` is set.
226+
223227
.. seealso::
224228
225229
:ref:`user_guide.scheduler.workflow_events`
226230
227231
.. versionadded:: 8.0.0
228232
''',
229233
'workflow timeout handlers': '''
230-
Handlers to run if the workflow timer times out.
234+
Handlers to run if the `[..]workflow timeout` is reached.
231235
232236
.. seealso::
233237
@@ -237,7 +241,7 @@
237241
''',
238242
'abort on workflow timeout': '''
239243
Whether the scheduler should shut down immediately with error status if
240-
the workflow timer times out.
244+
the :cylc:conf:`[..]workflow timeout` is reached.
241245
242246
.. seealso::
243247
@@ -259,6 +263,10 @@
259263
'stall timeout': f'''
260264
The length of a timer which starts if the scheduler stalls.
261265
266+
When the stall timeout is reached, any `[..]stall timeout handlers`
267+
will be called. Additionally, the workflow will shut down if
268+
`[..]abort on stall timeout` is set.
269+
262270
.. seealso::
263271
264272
:ref:`user_guide.scheduler.workflow_events`
@@ -268,7 +276,7 @@
268276
{REPLACES}``timeout``.
269277
''',
270278
'stall timeout handlers': f'''
271-
Handlers to run if the stall timer times out.
279+
Handlers to run if the `[..]stall timeout` is reached.
272280
273281
.. seealso::
274282
@@ -280,7 +288,7 @@
280288
''',
281289
'abort on stall timeout': f'''
282290
Whether the scheduler should shut down immediately with error status if
283-
the stall timer times out.
291+
the `[..]stall timeout` is reached.
284292
285293
.. seealso::
286294
@@ -294,6 +302,10 @@
294302
Scheduler inactivity timeout interval. The timer resets when any
295303
workflow activity occurs.
296304
305+
When the inactivity timeout is reached, any
306+
`[..]inactivity timeout handlers` will be called. Additionally, the
307+
workflow will shut down if `[..]abort on inactivity timeout` is set.
308+
297309
.. seealso::
298310
299311
:ref:`user_guide.scheduler.workflow_events`
@@ -303,7 +315,7 @@
303315
{REPLACES} ``inactivity``.
304316
''',
305317
'inactivity timeout handlers': f'''
306-
Handlers to run if the inactivity timer times out.
318+
Handlers to run if the `[..]inactivity timeout` is reached.
307319
308320
.. seealso::
309321
@@ -315,7 +327,7 @@
315327
''',
316328
'abort on inactivity timeout': f'''
317329
Whether the scheduler should shut down immediately with error status if
318-
the inactivity timer times out.
330+
the `[..]inactivity timeout` is reached.
319331
320332
.. seealso::
321333

0 commit comments

Comments
 (0)