X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/54393addd38726e4f02643591e2579b5da7085fd..a0de20e9bcfec679eb929f2bedfe2ac28db1590b:/settings/defaults.php?ds=sidebyside diff --git a/settings/defaults.php b/settings/defaults.php index 9f694c89..7c984a54 100644 --- a/settings/defaults.php +++ b/settings/defaults.php @@ -69,11 +69,18 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true); @define('CONST_Tablespace_Aux_Data', false); @define('CONST_Tablespace_Aux_Index', false); -// Replication settings +//// Replication settings + +// Base URL of replication service @define('CONST_Replication_Url', 'http://planet.openstreetmap.org/replication/minute'); -@define('CONST_Replication_Max_Diff_size', '30'); // MB of update data to download per batch -@define('CONST_Replication_Update_Interval', '60'); // How often upstream publishes diffs -@define('CONST_Replication_Recheck_Interval', '60'); // How long to sleep if no update found yet + +// Maximum size in MB of data to download per batch +@define('CONST_Replication_Max_Diff_size', '30'); +// How long until the service publishes the next diff +// (relative to the age of data in the diff). +@define('CONST_Replication_Update_Interval', '75'); +// How long to sleep when no update could be found +@define('CONST_Replication_Recheck_Interval', '60'); // Website settings @define('CONST_NoAccessControl', true);