diff --git a/src/structure/components/com_sportsmanager/api.php b/src/structure/components/com_sportsmanager/api.php index 900cde2..ef26937 100644 --- a/src/structure/components/com_sportsmanager/api.php +++ b/src/structure/components/com_sportsmanager/api.php @@ -42,6 +42,7 @@ function notifyChange($data) { 'Authorization: ' . $key, 'Content-Type: application/json', ), + CURLOPT_TIMEOUT => 2, CURLOPT_POSTFIELDS => json_encode($data), )); $resp = curl_exec($ch);