rogerxavier commited on
Commit
2815f60
1 Parent(s): 0de437b

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -157,7 +157,7 @@ def returnRandomSubscribeUrl(background_tasks: BackgroundTasks)->str:
157
 
158
 
159
  async def upload_video(meta:dict):
160
- #假设最多重新上传5次,上传cover超时那么选取随机图片重新作为cover上传
161
  max_attempts = 5
162
  attempts = 0
163
  while attempts < max_attempts:
 
157
 
158
 
159
  async def upload_video(meta:dict):
160
+ #假设最多重新上传5次,上传cover使用随机图片,超时则再次执行
161
  max_attempts = 5
162
  attempts = 0
163
  while attempts < max_attempts: