[Tile-serving] [openstreetmap/osm2pgsql] Refactor pending processor (#1176)

Jochen Topf notifications at github.com
Thu May 21 08:21:16 UTC 2020


@joto commented on this pull request.



> +    {
+        m_queue = std::move(list);
+        process_queue("relation", do_rels);
+
+        // Collect expiry tree information from all clones and merge it back
+        // into the original outputs.
+        for (auto const &clone : m_clones) {
+            auto it = clone.begin();
+            for (auto const &output : m_outputs) {
+                assert(it != clone.end());
+                if (*it) {
+                    output->merge_expire_trees(it->get());
+                }
+                ++it;
+            }
+        }

Done.

-- 
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/1176#discussion_r428513501
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200521/9eace7f0/attachment.htm>


More information about the Tile-serving mailing list