maxzoom==0 is the default setting and it is documented to means that there is no expire. That's what the enabled() function checks.
But disabling this in from_bbox() only disabled the expire for that case, not for linestrings. Better to do this check in the function that's called from outside the expire code: from_geometry(). We also need to fix some tests that were using maxzoom==0 by changing their setting to use maxzoom==1. You can view, comment on, or merge this pull request online at: https://github.com/osm2pgsql-dev/osm2pgsql/pull/2424 -- Commit Summary -- * Fix: Always disable expiry if maxzoom==0 -- File Changes -- M src/expire-tiles.cpp (8) M tests/bdd/flex/expire.feature (6) M tests/data/test_expire.lua (2) -- Patch Links -- https://github.com/osm2pgsql-dev/osm2pgsql/pull/2424.patch https://github.com/osm2pgsql-dev/osm2pgsql/pull/2424.diff -- Reply to this email directly or view it on GitHub: https://github.com/osm2pgsql-dev/osm2pgsql/pull/2424 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
