Commit 58a52c63 by muzaffaryousaf

Fixing bad rebase.

parent 4ce59dbc
...@@ -92,14 +92,15 @@ class VedaHeal(object): ...@@ -92,14 +92,15 @@ class VedaHeal(object):
self.val_status = None self.val_status = None
# Enqueue # Enqueue
for e in encode_list: if self.auth_dict['rabbitmq_broker'] is not None:
veda_id = v.edx_id for e in encode_list:
encode_profile = e veda_id = v.edx_id
jobid = uuid.uuid1().hex[0:10] encode_profile = e
celeryapp.worker_task_fire.apply_async( jobid = uuid.uuid1().hex[0:10]
(veda_id, encode_profile, jobid), celeryapp.worker_task_fire.apply_async(
queue=self.auth_dict['celery_worker_queue'] (veda_id, encode_profile, jobid),
) queue=self.auth_dict['celery_worker_queue']
)
def determine_fault(self, video_object): def determine_fault(self, video_object):
""" """
......
...@@ -33,6 +33,9 @@ val_username: username ...@@ -33,6 +33,9 @@ val_username: username
val_transcript_create_url: http://val.edx.org/transcript/create val_transcript_create_url: http://val.edx.org/transcript/create
val_video_transcript_status_url: http://val.edx.org/video/status val_video_transcript_status_url: http://val.edx.org/video/status
celery_worker_queue: encode_worker
celery_deliver_queue: deliver_worker
# ---------- # ----------
##--- ##---
# This is a list of encodes and their respective course # This is a list of encodes and their respective course
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment