X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a54c5e3003b104ef861f5a08bcfbda4c0be30870..f2b2a714855f1441319fa6d4fe095d3779c583d6:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 26b48551..10f77ee4 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -4,7 +4,7 @@ // General settings @define('CONST_Debug', false); - @define('CONST_Database_DSN', 'pgsql://@/nominatim'); + @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // ://:@:/ @define('CONST_Max_Word_Frequency', '50000'); // Software versions @@ -16,6 +16,8 @@ @define('CONST_Path_Postgresql_Postgis', CONST_Path_Postgresql_Contrib.'/postgis-'.CONST_Postgis_Version); @define('CONST_Osm2pgsql_Binary', CONST_BasePath.'/osm2pgsql/osm2pgsql'); @define('CONST_Osmosis_Binary', '/usr/bin/osmosis'); + @define('CONST_Replication_Url', 'http://planet.openstreetmap.org/replication/minute'); + @define('CONST_Replication_MaxInterval', '3600'); // Connection buckets to rate limit people being nasty @define('CONST_ConnectionBucket_MemcacheServerAddress', false); @@ -28,6 +30,7 @@ @define('CONST_ConnectionBucket_Cost_Reverse', 1); @define('CONST_ConnectionBucket_Cost_Search', 2); @define('CONST_ConnectionBucket_Cost_Details', 3); + @define('CONST_ConnectionBucket_Cost_Status', 1); // Override this function to add an adjustment factor to the cost // based on server load. e.g. getBlockingProcesses