From 3dade534fd31621494d78d6201052f86b44e34ac Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 4 May 2021 11:47:15 +0200 Subject: [PATCH] Add hint about replication update & recheck intervals being in seconds. --- docs/admin/Update.md | 4 ++-- settings/env.defaults | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.45.1