X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/93b1089866cbfd4e639c4a6f9db9e6ea612a827f..4b08a08968c0317c38960ad6d8e2ef4099933fe6:/website/reverse.php?ds=inline diff --git a/website/reverse.php b/website/reverse.php index f6925846..708aaf78 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -4,18 +4,6 @@ require_once(dirname(dirname(__FILE__)).'/lib/init-website.php'); require_once(CONST_BasePath.'/lib/log.php'); - if (strpos(CONST_BulkUserIPs, ','.$_SERVER["REMOTE_ADDR"].',') !== false) - { - $fLoadAvg = getLoadAverage(); - if ($fLoadAvg > 2) sleep(60); - if ($fLoadAvg > 4) sleep(120); - if ($fLoadAvg > 6) - { - echo "Bulk User: Temporary block due to high server load\n"; - exit; - } - } - $oDB =& getDB(); ini_set('memory_limit', '200M');