Add parallel export with configurable concurrency (default: 8)
Use Task.async_stream for parallel org->md export. Configurable via EXPORT_CONCURRENCY env var or :export_concurrency config.
This commit is contained in:
@@ -40,3 +40,7 @@ config :org_garden,
|
||||
http_port: RuntimeConfig.parse_int(System.get_env("PORT"), 8080),
|
||||
ws_port: RuntimeConfig.parse_int(System.get_env("WS_PORT"), 3001),
|
||||
health_port: RuntimeConfig.parse_int(System.get_env("HEALTH_PORT"), 9090)
|
||||
|
||||
# Export parallelism
|
||||
config :org_garden,
|
||||
export_concurrency: RuntimeConfig.parse_int(System.get_env("EXPORT_CONCURRENCY"), 8)
|
||||
|
||||
Reference in New Issue
Block a user