Added stat version
CI / check (push) Successful in 2m41s

This commit is contained in:
Ultradesu
2026-07-28 22:00:11 +01:00
parent 8de7d12927
commit 10fa97a915
19 changed files with 703 additions and 407 deletions
+4 -1
View File
@@ -28,7 +28,7 @@ use crate::routing::{NodeContact, NodeId};
///
/// The historical value is retained because changing it would partition
/// existing deployments.
pub const SCHEMA_NAME: &str = "music-dht-poc-v3";
pub const SCHEMA_NAME: &str = "music-dht-v5";
/// Capacity of the application event channel.
const EVENT_CHANNEL_CAPACITY: usize = 256;
@@ -285,6 +285,9 @@ impl MusicDhtService {
for alpn in &config.stream_protocols {
engine_builder = engine_builder.stream_protocol(alpn.clone());
}
for alpn in &config.schema_independent_stream_protocols {
engine_builder = engine_builder.schema_independent_stream_protocol(alpn.clone());
}
let engine_config = engine_builder
.build()
.map_err(|err| MusicDhtError::Network(err.to_string()))?;