[Tile-serving] [openstreetmap/mod_tile] Allow `renderd*` sections to precede `map` sections in renderd config file (PR #308)

Hummeltech notifications at github.com
Fri Mar 3 00:01:21 UTC 2023


Currently `renderd*` sections must be read in first in order to populate the `num_threads` & `tile_dir` values for each `map` section.
https://github.com/openstreetmap/mod_tile/blob/d8a0f29cfe0b8ae15db4e3d3ccf3981366e3bcbf/src/daemon.c#L838-L841

This change will allow `renderd*` sections to be anywhere within the `renderd` config file by first reading the prerequisite `renderd*` section(s).
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/308

-- Commit Summary --

  * Allow `renderd*` sections to precede `map` sections in config file

-- File Changes --

    M src/daemon.c (131)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/308.patch
https://github.com/openstreetmap/mod_tile/pull/308.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/308
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/308 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230302/9a99da6a/attachment.htm>


More information about the Tile-serving mailing list