pub async fn open_multi_graph_state(
graphs: Vec<GraphStartupConfig>,
tokens: Vec<(String, String)>,
server_policy_source: Option<&PolicySource>,
config_path: PathBuf,
) -> Result<AppState>Expand description
Parallel open of every graph in the startup config, with bounded
concurrency (buffer_unordered(4)). Fail-fast — the first open error
aborts startup; other in-flight opens are dropped (their Omnigraph
instances close cleanly via Arc drop).
The bound 4 is a rule-of-thumb for I/O-bound work. At N ≤ 10 this trades startup latency for a small amount of concurrent S3 / Lance open pressure.