[Tile-serving] [openstreetmap/mod_tile] render_list just sitting idle (Issue #426)

Hummeltech notifications at github.com
Mon Apr 15 16:00:10 UTC 2024


Yes, it will use 3 days if you don't have a `PLANET_TIMESTAMP` file:
https://github.com/openstreetmap/mod_tile/blob/9834df0e38a6cd55e06dec8608a64077d32f819a/src/store_file.c#L58-L61
Which is called from and sets the `expired` attribute here:
https://github.com/openstreetmap/mod_tile/blob/9834df0e38a6cd55e06dec8608a64077d32f819a/src/store_file.c#L192-L196

The solution is to generate a `PLANET_TIMESTAMP` file which I believe should be saved to this path on your system:
`/var/cache/renderd/tiles/s2o/planet-import-complete`

All that matters is the `mtime` of the `PLANET_TIMESTAMP` file, so you can `touch -m` it with the `--date` of your last planet import (or you can `touch -m` it with a `--date`/`-t in the past so that it will not come up as `expired`.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/426#issuecomment-2057203036
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/426/2057203036 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240415/e4b5aba3/attachment.htm>


More information about the Tile-serving mailing list