[Tile-serving] [openstreetmap/osm2pgsql] [Flex] Add callbacks to indicate start/end of stage processing (#1211)

mmd notifications at github.com
Sat Jun 13 08:35:52 UTC 2020


Today, a Lua script has a global section, which gets executed right at the beginning, and a few callback functions for nodes, ways, and relations. However, there's no way for the script to figure out when the Flex backend enters or exits a given stage.

This could be useful to do some initialization steps upon entry of a stage, or trigger the creation of additional DB indexes when exiting stage 3.

As an alternative, providing a global "setup" and "teardown" function callback, similar to the way unit tests work, would be a good starting point.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200613/d4624c13/attachment.htm>


More information about the Tile-serving mailing list