From: Marc Date: Tue, 4 May 2021 09:47:15 +0000 (+0200) Subject: Add hint about replication update & recheck intervals being in seconds. X-Git-Tag: v4.0.0~92^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/3dade534fd31621494d78d6201052f86b44e34ac Add hint about replication update & recheck intervals being in seconds. --- diff --git a/docs/admin/Update.md b/docs/admin/Update.md index 256ca3e9..a2323cfe 100644 --- a/docs/admin/Update.md +++ b/docs/admin/Update.md @@ -30,9 +30,9 @@ diffs for Ireland from Geofabrik add the following: # base URL of the replication service NOMINATIM_REPLICATION_URL="https://download.geofabrik.de/europe/ireland-and-northern-ireland-updates" - # How often upstream publishes diffs + # How often upstream publishes diffs (in seconds) NOMINATIM_REPLICATION_UPDATE_INTERVAL=86400 - # How long to sleep if no update found yet + # How long to sleep if no update found yet (in seconds) NOMINATIM_REPLICATION_RECHECK_INTERVAL=900 To set up the update process now run the following command: diff --git a/settings/env.defaults b/settings/env.defaults index 09819c0a..5fbeb0a2 100644 --- a/settings/env.defaults +++ b/settings/env.defaults @@ -156,14 +156,14 @@ NOMINATIM_REPLICATION_URL="https://planet.openstreetmap.org/replication/minute" # Size is in MB. NOMINATIM_REPLICATION_MAX_DIFF=50 -# Publication interval of the replication service. +# Publication interval of the replication service (in seconds). # Determines when Nominatim will attempt again to download again a new # update. The time is computed from the publication date of the last diff # downloaded. Setting this to a slightly higher value than the actual # publication interval avoids unnecessary rechecks. NOMINATIM_REPLICATION_UPDATE_INTERVAL=75 -# Wait time to recheck for a pending update. +# Wait time to recheck for a pending update (in seconds). # Time to wait after an expected update was not available on the server. NOMINATIM_REPLICATION_RECHECK_INTERVAL=60