diff --git a/include/classes/push_notification/notifymyandroid.php b/include/classes/push_notification/notifymyandroid.php index 936a78fc..e5307d79 100644 --- a/include/classes/push_notification/notifymyandroid.php +++ b/include/classes/push_notification/notifymyandroid.php @@ -24,7 +24,7 @@ class Notifications_NotifyMyAndroid implements IPushNotification { public function notify($message, $severity = 'info', $event = null){ global $setting; curl_setopt_array($ch = curl_init(), array( - CURLOPT_TIMEOUT_MS => 300, + CURLOPT_TIMEOUT_MS => 1500, CURLOPT_URL => "https://www.notifymyandroid.com/publicapi/notify", CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, diff --git a/include/classes/push_notification/pushover.php b/include/classes/push_notification/pushover.php index 6cd56fe3..236aa6b7 100644 --- a/include/classes/push_notification/pushover.php +++ b/include/classes/push_notification/pushover.php @@ -27,7 +27,7 @@ public function notify($message, $severity = 'info', $event = null){ curl_setopt_array($ch = curl_init(), array( - CURLOPT_TIMEOUT_MS => 300, + CURLOPT_TIMEOUT_MS => 1500, CURLOPT_URL => "https://api.pushover.net/1/messages.json", CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,