]> git.openstreetmap.org Git - rails.git/commitdiff
Increase overpass API timeout
authorTom Hughes <tom@compton.nu>
Sun, 20 Mar 2016 19:41:15 +0000 (19:41 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 20 Mar 2016 19:41:15 +0000 (19:41 +0000)
app/assets/javascripts/index/query.js

index d3fa8ad838f8f10c7f72d8e15779323fb6853801..023e2a7f22069bba02babd5542246f0e711f0228 100644 (file)
@@ -179,7 +179,7 @@ OSM.Query = function(map) {
       url: url,
       method: "POST",
       data: {
       url: url,
       method: "POST",
       data: {
-        data: "[timeout:5][out:json];" + query,
+        data: "[timeout:10][out:json];" + query,
       },
       success: function(results) {
         var elements;
       },
       success: function(results) {
         var elements;