X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/348a3082c926bc6f8d9a2b5ba9341a9bae338ab6..4f75f4cb6e468a8de282a81615e7c720e154c8b4:/website/lookup.php?ds=sidebyside diff --git a/website/lookup.php b/website/lookup.php index 9d0cea4c..2e2a1c2f 100755 --- a/website/lookup.php +++ b/website/lookup.php @@ -7,18 +7,6 @@ require_once(CONST_BasePath.'/lib/PlaceLookup.php'); require_once(CONST_BasePath.'/lib/output.php'); - if (strpos(CONST_BulkUserIPs, ','.$_SERVER["REMOTE_ADDR"].',') !== false) - { - $fLoadAvg = getLoadAverage(); - if ($fLoadAvg > 2) sleep(60); - if ($fLoadAvg > 4) sleep(120); - if ($fLoadAvg > 6) - { - userError("Bulk User: Temporary block due to high server load"); - exit; - } - } - $oDB =& getDB(); ini_set('memory_limit', '200M');