mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
Merge pull request #21 from Deutscher-Tischfussballbund/fix/20
Fix #20 Add timeout to push server call
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user