]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/settings.php
make planet replication url configurable so we can use geofabrik's awesome daily...
[nominatim.git] / settings / settings.php
index fc3166b41e365588388993dc148be05aed367822..dd424e0769e06cbc9902b914a69d94af2fb1aa09 100644 (file)
@@ -4,7 +4,7 @@
 
        // General settings
        @define('CONST_Debug', false);
-       @define('CONST_Database_DSN', 'pgsql://@/nominatim');
+       @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // <driver>://<username>:<password>@<host>:<port>/<database>
        @define('CONST_Max_Word_Frequency', '50000');
 
        // Software versions
        @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');
+       @define('CONST_Replication_Url', 'http://download.geofabrik.de/europe/ireland-and-northern-ireland-updates');
+       @define('CONST_Replication_MaxInterval', '259200');
 
        // Connection buckets to rate limit people being nasty
        @define('CONST_ConnectionBucket_MemcacheServerAddress', false);