From eb98755f79bbd4208dc7c042092f4033ed751a3b Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 11 Mar 2015 22:15:07 +0000 Subject: Up the timeout to 20 seconds, was 4 This should make loading the map possible on slow connections. --- src/leaflet-soton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3