@@ -995,7 +995,7 @@ def process_queued_task_messages(self) -> None:
995
995
if should_poll :
996
996
to_poll_tasks .append (itask )
997
997
if to_poll_tasks :
998
- self .task_job_mgr .poll_task_jobs (self . workflow , to_poll_tasks )
998
+ self .task_job_mgr .poll_task_jobs (to_poll_tasks )
999
999
1000
1000
# Remaining unprocessed messages have no corresponding task proxy.
1001
1001
# For example, if I manually set a running task to succeeded, the
@@ -1096,7 +1096,7 @@ def kill_tasks(
1096
1096
f"{ ', ' .join (sorted (t .identity for t in unkillable ))} "
1097
1097
)
1098
1098
if not jobless :
1099
- self .task_job_mgr .kill_task_jobs (self . workflow , to_kill )
1099
+ self .task_job_mgr .kill_task_jobs (to_kill )
1100
1100
1101
1101
return len (unkillable )
1102
1102
@@ -1536,7 +1536,6 @@ def start_job_submission(self, itasks: 'Iterable[TaskProxy]') -> bool:
1536
1536
log = LOG .info
1537
1537
1538
1538
for itask in self .task_job_mgr .submit_task_jobs (
1539
- self .workflow ,
1540
1539
itasks ,
1541
1540
self .server .curve_auth ,
1542
1541
self .server .client_pub_key_dir ,
@@ -1592,7 +1591,7 @@ def timeout_check(self):
1592
1591
self .check_workflow_timers ()
1593
1592
# check submission and execution timeout and polling timers
1594
1593
if self .get_run_mode () != RunMode .SIMULATION :
1595
- self .task_job_mgr .check_task_jobs (self .workflow , self . pool )
1594
+ self .task_job_mgr .check_task_jobs (self .pool )
1596
1595
1597
1596
async def workflow_shutdown (self ):
1598
1597
"""Determines if the workflow can be shutdown yet."""
0 commit comments