mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Update download timeout
This commit is contained in:
@@ -10,7 +10,7 @@ async def download(
|
||||
) -> Optional[tuple[httpx.Response, httpx.AsyncClient, str]]:
|
||||
headers = {"Authorization": env_config.DOWNLOADER_API_KEY}
|
||||
|
||||
client = httpx.AsyncClient(timeout=300)
|
||||
client = httpx.AsyncClient(timeout=600)
|
||||
request = client.build_request(
|
||||
"GET",
|
||||
f"{env_config.DOWNLOADER_URL}/download/{source_id}/{remote_id}/{file_type}",
|
||||
|
||||
Reference in New Issue
Block a user