]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase number of search descriptions tried
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Nov 2021 10:16:05 +0000 (11:16 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Nov 2021 10:16:05 +0000 (11:16 +0100)
lib-php/Geocode.php

index 43d10368eb9292ffcd90d2fcc8103b4a07ded395..0d1fab89b0986890c4c7537d00671944f0b27358 100644 (file)
@@ -688,7 +688,7 @@ class Geocode
                         }
                     }
 
-                    if ($iQueryLoop > 20) {
+                    if ($iQueryLoop > 30) {
                         break;
                     }
                 }
@@ -765,7 +765,7 @@ class Geocode
                     $aResults = $tempIDs;
                 }
 
-                if (!empty($aResults) || $iGroupLoop > 4 || $iQueryLoop > 30) {
+                if (!empty($aResults) || $iGroupLoop > 6 || $iQueryLoop > 40) {
                     break;
                 }
             }