diff options
author | Krzysztof A. Adamski <krzysztofa@gmail.com> | 2008-06-04 12:13:46 -0400 |
---|---|---|
committer | Krzysztof A. Adamski <krzysztofa@gmail.com> | 2008-06-04 12:13:46 -0400 |
commit | 6e61c3a5cd9da2e145b37debd30dd28ba63b7070 (patch) | |
tree | 7b26ebe981ada233f2d6a226115b85d14b078730 /func | |
parent | a78191743f6ac9a558673106d500ae41dd936094 (diff) | |
download | third_party-func-6e61c3a5cd9da2e145b37debd30dd28ba63b7070.tar.gz third_party-func-6e61c3a5cd9da2e145b37debd30dd28ba63b7070.tar.xz third_party-func-6e61c3a5cd9da2e145b37debd30dd28ba63b7070.zip |
Commenting out unneeded __update_status calls.
Diffstat (limited to 'func')
-rw-r--r-- | func/jobthing.py | 6 |
1 files changed, 4 insertions, 2 deletions
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) |