omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
710 stars 156 forks source link

No Fush of initial small expire tile list #223

Closed frodrigo closed 1 year ago

frodrigo commented 4 years ago

I have trouble with imposm run for small updates.

As I understand the code the flush of the tiles list is done in two cases:

So, for small update (>30s) the first flush will be done on next update.

My use case. I import a small extract of Andorra, 2 months old. Then use the run command, it update successfully the database quickly, in less than 30s. But no expire tile list is write to disk until I stop the command. I guess it will be written if I wait 24h for the next update, but not tested.

francois2metz commented 4 years ago

I had the same issue. What about adding a new configuration option to control this?

francois2metz commented 1 year ago

Fixed in https://github.com/omniscale/imposm3/pull/246.