This commit is contained in:
Lizandro Guarnizo
2026-02-20 11:21:06 -05:00
parent c9ec58979e
commit 602e6d3724
11 changed files with 130 additions and 30 deletions
+3 -1
View File
@@ -116,8 +116,10 @@ class MediaService {
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_TIMEOUT => 120,
CURLOPT_CONNECTTIMEOUT => 30,
CURLOPT_TIMEOUT => 180,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_BUFFERSIZE => 65536,
]);
$content = curl_exec($ch);
$err = curl_error($ch);