Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

fix: use field mutation for non-exhaustive StreamableHttpServerConfig

FABIOTESS0213f791bfb9
diff --git a/src/main.rs b/src/main.rs
index 66138981..c1e5f455 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -439,11 +439,9 @@ async fn main() -> anyhow::Result<()> {
let shared_db = StateDb::open(&db_path_owned)?;
let ct = CancellationToken::new();
- let http_config = StreamableHttpServerConfig {
- stateful_mode: true,
- cancellation_token: ct.clone(),
- ..Default::default()
- };
+ let mut http_config = StreamableHttpServerConfig::default();
+ http_config.stateful_mode = true;
+ http_config.cancellation_token = ct.clone();
let shared_graph_for_service = shared_graph.clone();
let gw_for_service = governance_webhook.clone();