]> git.openstreetmap.org Git - nominatim.git/commit
improve progress logging during indexing
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 30 Nov 2020 09:59:29 +0000 (10:59 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 30 Nov 2020 09:59:29 +0000 (10:59 +0100)
commit5016eace34b5924d752ee0eb889ce9a2f663e78e
tree21d631c583e3e5732e94b39682e6cb3f85234ff4
parent2e5c8b5cd33cd2647414a87d8fd8bcae8b4698ec
improve progress logging during indexing

Wait for 2 seconds before logging the first progress, so that we
have numbers that are a bit more reliable statistically speaking.

Also provides an actual implementation for the log_interval
parameter and fixes some small style issues.
nominatim/indexer/progress.py