Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #96 from edx/release_20180329
Browse files Browse the repository at this point in the history
VEDA Release Mar 29, 2018
  • Loading branch information
yro authored Apr 2, 2018
2 parents bc767a1 + db5e205 commit dfc600d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions control/veda_heal.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,20 @@ def send_encodes(self):
# unreliable and times out. For a completed Video, VEDA heal will keep doing this unless
# the Video is old enough and escapes from the time-span that HEAL is picking up on.
# cc Greg Martin
if len(encode_list) > 0:
self.val_status = 'transcode_queue'
if len(encode_list) == 0:
LOGGER.info('[ENQUEUE] {studio_id} | {video_id}: Nothing to queue'.format(
studio_id=v.studio_id,
video_id=v.edx_id,
))
api_call = VALAPICall(
video_proto=None,
video_object=v,
val_status=self.val_status,
)
api_call.call()
continue

self.val_status = 'transcode_queue'
api_call = VALAPICall(
video_proto=None,
video_object=v,
Expand Down

0 comments on commit dfc600d

Please sign in to comment.