Fix ws and http build errors, fix ws thread name

This commit is contained in:
Joakim Frostegård 2024-02-03 23:53:13 +01:00
parent a4f7c816d0
commit c4f645e03e
4 changed files with 2 additions and 8 deletions

View file

@ -19,7 +19,7 @@ name = "aquatic_ws"
[features]
default = ["prometheus", "mimalloc"]
prometheus = ["metrics", "metrics-exporter-prometheus"]
prometheus = ["metrics", "aquatic_common/prometheus"]
metrics = ["dep:metrics", "metrics-util"]
# Use mimalloc allocator for much better performance. Requires cmake and a
# C/C++ compiler

View file

@ -109,7 +109,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
let response_mesh_builder = response_mesh_builder.clone();
let handle = Builder::new()
.name(format!("socket-{:02}", i + 1))
.name(format!("swarm-{:02}", i + 1))
.spawn(move || {
LocalExecutorBuilder::default()
.make()