[Tile-serving] [openstreetmap/osm2pgsql] Skip processing stage entirely when no objects are pending (#900)

Sarah Hoffmann notifications at github.com
Wed Jan 16 21:45:13 UTC 2019


The processing stage opens quite a few connections to the database. This can be avoided when no objects are pending (i.e. when importing).

Improves on #885 and also happens to reduce the time for running the tests by 50%.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/900

-- Commit Summary --

  * Skip processing stage entirely when no objects are pending

-- File Changes --

    M osmdata.cpp (8)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/900.patch
https://github.com/openstreetmap/osm2pgsql/pull/900.diff

-- 
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/pull/900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190116/184ba3f7/attachment.html>


More information about the Tile-serving mailing list