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/[email protected]>
_______________________________________________ Tile-serving mailing list [email protected] https://lists.openstreetmap.org/listinfo/tile-serving
