diff --git a/db/pull.php b/db/pull.php index 31d2b5e8f35e8e99065cbb361f107e00bade7d99..d6b6dd8932db7b2bb1d08a4533104817641ee8f6 100644 --- a/db/pull.php +++ b/db/pull.php @@ -96,8 +96,8 @@ unset($xdver); curl_setopt($chss, CURLOPT_URL, "https://".$domain."/statistics.json"); curl_setopt($chss, CURLOPT_POST, 0); curl_setopt($chss, CURLOPT_HEADER, 1); - curl_setopt($chss, CURLOPT_CONNECTTIMEOUT, 5); - curl_setopt($chss, CURLOPT_TIMEOUT, 5); + curl_setopt($chss, CURLOPT_CONNECTTIMEOUT, 15); + curl_setopt($chss, CURLOPT_TIMEOUT, 15); curl_setopt($chss, CURLOPT_RETURNTRANSFER, 1); curl_setopt($chss, CURLOPT_NOBODY, 0); $outputssl = curl_exec($chss); @@ -107,8 +107,8 @@ unset($xdver); curl_setopt($ch, CURLOPT_URL, "http://".$domain."/statistics.json"); curl_setopt($ch, CURLOPT_POST, 0); curl_setopt($ch, CURLOPT_HEADER, 1); - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); - curl_setopt($ch, CURLOPT_TIMEOUT, 5); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); + curl_setopt($ch, CURLOPT_TIMEOUT, 15); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_NOBODY, 0); $output = curl_exec($ch); diff --git a/index.php b/index.php index 7c95e42fbe7b13cd35e78e9d9fc9287a0dec2a85..97751d7af652942a34febf2264a6337d0bafceca 100644 --- a/index.php +++ b/index.php @@ -84,7 +84,7 @@ if ($detect->isMobile()) {echo '' Its easy start monitoring on your pod with a free Uptime Robot account.
Create a monitor for your pod, then in "My Settings" create a monitor-specific API key and paste below.

- Monitor API Key:
+ Monitor API Key: (don't copy the period on the end)
Pod domainname:
Your Email:
diff --git a/js/podup.js b/js/podup.js index 5b9aaac53d9ef11bf44ca200f8c40f6ccb4d5812..647e34c82a598813c92e0171c885afd1b34dc107 100644 --- a/js/podup.js +++ b/js/podup.js @@ -10,6 +10,7 @@ function map() { map.addLayer(new OpenLayers.Layer.OSM()); map.addControl(new OpenLayers.Control.LayerSwitcher()); var layer = new OpenLayers.Layer.GeoRSS("Diaspora Pods", "/api.php?key=4r45tg&format=georss"); + //map.popupSize(2,2); map.addLayer(layer); map.zoomTo(2); }