AdhyanshVerma commited on
Commit
4846b75
·
verified ·
1 Parent(s): 248c4e8

Upload 14 files

Browse files
Files changed (1) hide show
  1. pipeline/orchestrator.py +3 -0
pipeline/orchestrator.py CHANGED
@@ -381,6 +381,9 @@ def sync_workers(tracker):
381
  if kstatus == "complete":
382
  log.info(f" ✅ {title} completed")
383
  tracker.mark_worker(wid, WS_COMPLETE, kstatus)
 
 
 
384
  elif kstatus == "error":
385
  log.warning(f" ❌ {title} errored")
386
  requeued = tracker.requeue_worker_videos(wid)
 
381
  if kstatus == "complete":
382
  log.info(f" ✅ {title} completed")
383
  tracker.mark_worker(wid, WS_COMPLETE, kstatus)
384
+ requeued = tracker.requeue_worker_videos(wid, new_status=S_FAILED)
385
+ if requeued > 0:
386
+ log.info(f" Marked {requeued} silently skipped videos as failed")
387
  elif kstatus == "error":
388
  log.warning(f" ❌ {title} errored")
389
  requeued = tracker.requeue_worker_videos(wid)