From 6e61c3a5cd9da2e145b37debd30dd28ba63b7070 Mon Sep 17 00:00:00 2001 From: "Krzysztof A. Adamski" Date: Wed, 4 Jun 2008 12:13:46 -0400 Subject: Commenting out unneeded __update_status calls. --- func/jobthing.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'func') diff --git a/func/jobthing.py b/func/jobthing.py index 04437ce..1c4d6cc 100644 --- a/func/jobthing.py +++ b/func/jobthing.py @@ -118,7 +118,8 @@ def batch_run(server, process_server, nforks): return job_id else: # kick off the job - __update_status(job_id, JOB_ID_RUNNING, -1) + # I don't thing it's needed - kaa + #__update_status(job_id, JOB_ID_RUNNING, -1) results = forkbomb.batch_run(server, process_server, nforks) # we now have a list of job id's for each minion, kill the task @@ -139,7 +140,8 @@ def minion_async_run(retriever, method, args): __update_status(job_id, JOB_ID_RUNNING, -1) return job_id else: - __update_status(job_id, JOB_ID_RUNNING, -1) + # I don't thing it's needed - kaa + #__update_status(job_id, JOB_ID_RUNNING, -1) try: function_ref = retriever(method) rc = function_ref(*args) -- cgit