Skip to content

Commit dd37ca2

Browse files
committed
Task description updated
1 parent 2790af9 commit dd37ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ Task(name, timeout=0, onstart=None, ondone=None, onfinish=None, params=None
256256
numadded: uint - the number of direct added subtasks
257257
numdone: uint - the number of completed DIRECT subtasks
258258
(each subtask may contain multiple jobs or sub-sub-tasks)
259-
numterm: uint - the number of terminated direct subtasks (i.e. jobs)
259+
numterm: uint - the number of terminated direct subtasks (including jobs) that are not restarting
260+
numdone + numterm <= numadded
260261
"""
261262
```
262263

@@ -367,6 +368,7 @@ ExecPool(wksnum=max(cpu_count()-1, 1), afnmask=None, memlimit=0., latency=0., na
367368
failures: [JobInfo] - failed (terminated or crashed) jobs with timestamps.
368369
NOTE: failures contain both terminated, crashed jobs that jobs completed with non-zero return code
369370
excluding the jobs terminated by timeout that have set .rsrtonto (will be restarted)
371+
jobsdone: uint - the number of successfully completed (non-terminated) jobs with zero code
370372
tasks: set(Task) - tasks associated with the scheduled jobs
371373
"""
372374

0 commit comments

Comments
 (0)