feat: flow's http server (#5372)

* feat: flow's http server

* feat: add cli options for http addr

* test: sqlness runner http addr

* feat: metrics

* chore: also shutdown http server
This commit is contained in:
discord9
2025-01-16 15:25:30 +08:00
committed by GitHub
parent a4761d6245
commit 317fe9eaa5
6 changed files with 57 additions and 0 deletions

View File

@@ -490,6 +490,7 @@ impl Env {
sqlness_home.display()
));
args.push("--metasrv-addrs=127.0.0.1:29302".to_string());
args.push(format!("--http-addr=127.0.0.1:2951{id}"));
(args, format!("127.0.0.1:2968{id}"))
}