Use Task.async_stream for parallel org->md export. Configurable via EXPORT_CONCURRENCY env var or :export_concurrency config.
20 lines
440 B
Elixir
20 lines
440 B
Elixir
import Config
|
|
|
|
# Default configuration values
|
|
# These are overridden by config/runtime.exs in releases
|
|
|
|
config :org_garden,
|
|
zotero_url: "http://localhost:23119",
|
|
citation_mode: :warn,
|
|
http_port: 8080,
|
|
ws_port: 3001,
|
|
health_port: 9090,
|
|
export_concurrency: 8
|
|
|
|
config :logger, :console,
|
|
format: "$time $metadata[$level] $message\n",
|
|
metadata: [:module]
|
|
|
|
# Import environment specific config
|
|
import_config "#{config_env()}.exs"
|