diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2015-03-11 22:15:07 +0000 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2015-03-11 22:15:07 +0000 |
commit | eb98755f79bbd4208dc7c042092f4033ed751a3b (patch) | |
tree | da1970636d344b602769f706a5f41908d727d4ea | |
parent | 53b9706ccbe5d08845728c367f76ad6756549b2b (diff) | |
download | leaflet-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.js | 2 |
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); |