Commit ·
a1cd4fa
1
Parent(s): 8a06d6b
revise scoring download timeouts
Browse files
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=
|
| 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 |
|