From 58439ecd3433434b8fa31821619fec8e5bbeda27 Mon Sep 17 00:00:00 2001 From: "Krzysztof A. Adamski" Date: Fri, 6 Jun 2008 18:17:50 -0400 Subject: Cleanup: Change parameter names to match comments and similar funtion in forkbomb. --- func/jobthing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'func') diff --git a/func/jobthing.py b/func/jobthing.py index bbc4f89..c7eb179 100644 --- a/func/jobthing.py +++ b/func/jobthing.py @@ -99,7 +99,7 @@ def __access_status(jobid=0, status=0, results=0, clear=False, write=False, purg return rc -def batch_run(server, process_server, nforks): +def batch_run(pool, callback, nforks): """ This is the method used by the overlord side usage of jobthing. Minion side usage will use minion_async_run instead. @@ -117,7 +117,7 @@ def batch_run(server, process_server, nforks): else: # kick off the job __update_status(job_id, JOB_ID_RUNNING, -1) - results = forkbomb.batch_run(server, process_server, nforks) + results = forkbomb.batch_run(pool, callback, nforks) # we now have a list of job id's for each minion, kill the task __update_status(job_id, JOB_ID_PARTIAL, results) -- cgit