dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

High number of reverse geocoding jobs

Open Freika opened this issue 11 months ago • 1 comments

Discussed in https://github.com/Freika/dawarich/discussions/613

Originally posted by solderdot72 January 2, 2025 Hi and happy new year!

On a clean DaWarIch installation (0.21.2) I import a handful of GPX files via the watched folder. After an hour Stats page shows that 45,926 geopoints were imported. This number is as expected.

The background jobs pages shows an ever-increasing number of reverse geocoding jobs, the same is true for the "Warteschlangen" page in sidekiq (http://<myIP>:3000/sidekiq/queues): After 1 hour after the import was started, the numbers displayed on both pages amount to 1.6 million (!) entries!

This appears to be reproducible. After having installed DaWarIch from scratch yestereve and the import showed those numbers this morning I removed dawarich and re-installed from scratch again today, I see those numbers again.

Is it expected that for not even 46,000 geopoints that many reverse geocoding jobs are created?

Freika avatar Jan 03 '25 21:01 Freika

I've seen that - after import of all points is done - clearing the reverse geocoding queue and starting reverse geoconding om outstanding points will work. A sane number of jobs is created. However, for each batch of imported GPX tracks via the watched folder the number of initially created reverse-geocoding jobs appears to be limitless.

solderdot72 avatar Jan 07 '25 14:01 solderdot72

Should be probably fixed in 0.26.1

Freika avatar May 18 '25 17:05 Freika