summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 05ff2e1..e2235fb 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -172,7 +172,7 @@ function if_unset($array, $index, $default) {
function site_is_reachable($url) {
$scd = stream_context_get_default();
- stream_context_set_default(array('timeout' => 1));
+ stream_context_set_default(array('timeout' => 10));
$headers = get_headers($url);
stream_context_set_default($scd);
if (is_array($headers))