summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2015-03-11 22:15:07 +0000
committerChristopher Baines <cb15g11@soton.ac.uk>2015-03-11 22:15:07 +0000
commiteb98755f79bbd4208dc7c042092f4033ed751a3b (patch)
treeda1970636d344b602769f706a5f41908d727d4ea
parent53b9706ccbe5d08845728c367f76ad6756549b2b (diff)
downloadleaflet-soton-eb98755f79bbd4208dc7c042092f4033ed751a3b.tar
leaflet-soton-eb98755f79bbd4208dc7c042092f4033ed751a3b.tar.gz
Up the timeout to 20 seconds, was 4
This should make loading the map possible on slow connections.
-rw-r--r--src/leaflet-soton.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index 4fe2a2e..6116704 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -1782,7 +1782,7 @@ SELECT * WHERE {\
xhttp.ontimeout = function () {
callback(null);
};
- xhttp.timeout = 4000;
+ xhttp.timeout = 20000;
xhttp.setRequestHeader('Accept', 'application/json');
xhttp.send(options.data);