@@ -2,7 +2,7 @@ class VideoDecodeConst:
TASK_NAME = "decode_video_produce"
FEISHU_BOT_ENV = "long_articles_task"
FAIL_RATE_THRESHOLD = 0.1
- ERROR_SAMPLE_LIMIT = 5
+ ERROR_SAMPLE_LIMIT = 20
class TaskStatus:
INIT = 0
@@ -240,11 +240,7 @@ class DecodeVideoProduce(VideoDecodeConst):
if error_count:
error_samples = [
- {
- "index": idx,
- "video_id": task_obj.get("video_id"),
- "error": str(err),
- }
+ f"https://admin.piaoquantv.com/cms/post-detail/{task_obj.get('video_id')}/detail/ "
for idx, task_obj, err in result["errors"][: self.ERROR_SAMPLE_LIMIT]
]
await feishu_robot.bot(