[Tile-serving] [osm2pgsql-dev/osm2pgsql] Make tile expire order configurable (PR #2493)
Jochen Topf
notifications at github.com
Fri Jul 3 19:42:57 UTC 2026
When limiting the number of tiles to be expired with `max_tiles_per_run` we are ordering the tiles by `first`, i.e. oldest first. The new setting `order_by` allows this to be changed. It must be set to a proper SQL ORDER BY clause, the default is "first" as before.
A useful different order for instance is "last, first". This will order tiles first that have not been touched the longest.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2493
-- Commit Summary --
* Make tile expire order configurable
-- File Changes --
M src/gen/osm2pgsql-gen.cpp (12)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2493.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2493.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2493
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2493 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260703/1a5a2a56/attachment.htm>
More information about the Tile-serving
mailing list