Hi! I'm working on PostGIS tilelive.js adapter https://github.com/stepankuzmin/tilelive-postgis. When I'm trying to get tiles in parallel I'm getting TypeError: render: Map currently in use by another thread. Consider using a map pool. I've tried to set max_async_connection as postgis datasource option and setting threading_mode with mapnik.threadingMode.deferred, but it seems that there is no effect.
Is there any way to create map pool without calling map.fromString?
Hi! I'm working on PostGIS tilelive.js adapter https://github.com/stepankuzmin/tilelive-postgis. When I'm trying to get tiles in parallel I'm getting
TypeError: render: Map currently in use by another thread. Consider using a map pool.
I've tried to setmax_async_connection
as postgis datasource option and settingthreading_mode
withmapnik.threadingMode.deferred
, but it seems that there is no effect.Is there any way to create map pool without calling
map.fromString
?tilelive@5.12.3
mapnik@3.5.14