tripathiarpan20 commited on
Commit
a1cd4fa
·
1 Parent(s): 8a06d6b

revise scoring download timeouts

Browse files
Files changed (1) hide show
  1. services/scoring/server.py +1 -1
services/scoring/server.py CHANGED
@@ -167,7 +167,7 @@ async def download_video(video_url: str, verbose: bool) -> tuple[str, float]:
167
  if verbose:
168
  logger.info(f"Downloading video from {video_url} to {file_path}")
169
 
170
- timeout = aiohttp.ClientTimeout(sock_connect=10, total=40)
171
 
172
  start_time = time.time() # Record start time
173
 
 
167
  if verbose:
168
  logger.info(f"Downloading video from {video_url} to {file_path}")
169
 
170
+ timeout = aiohttp.ClientTimeout(sock_connect=30, total=120)
171
 
172
  start_time = time.time() # Record start time
173