Skip to content

Commit

Permalink
add comment about warmup workaround --search-only
Browse files Browse the repository at this point in the history
  • Loading branch information
iAlex97 authored and philipkozeny committed Sep 29, 2023
1 parent a689056 commit b4ec7dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 4.3/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ tailpid=${!}

if [ "$REVERSE_ONLY" = "true" ]; then
echo "Warm database caches for reverse queries"
# --search-only is a workaround until https://github.com/osm-search/Nominatim/issues/3213
# is merged and a new Nominatim version (probably 4.3.1) is released.
# Afterwards, we should revert back to using --reverse instead
sudo -H -E -u nominatim nominatim admin --warm --search-only > /dev/null
else
echo "Warm database caches for search and reverse queries"
Expand Down

0 comments on commit b4ec7dd

Please sign in to comment.