commit
abb4b012d7
|
@ -19,7 +19,7 @@ uuid = { version = "0.8", features = ["serde", "v4"] }
|
|||
chrono = { version = "0.4", features = ["serde"] }
|
||||
rand = "0.7.3"
|
||||
mio = { version = "0.7.0-alpha.1", features = ["os-poll", "udp"] }
|
||||
futures = "0.3"
|
||||
futures = "0.3.5"
|
||||
pin-utils = "0.1.0-alpha.4"
|
||||
libp2p = { version = "0.18", features = ["mdns"] }
|
||||
bastion-executor = "0.3.4"
|
||||
|
|
|
@ -9,7 +9,7 @@ use pin_utils::pin_mut;
|
|||
use std::{cell::Cell, sync::Arc};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Default, Clone)]
|
||||
#[derive(Default, Debug, Clone)]
|
||||
pub struct ArtilleryAPClusterConfig {
|
||||
pub app_name: String,
|
||||
pub node_id: Uuid,
|
||||
|
|
|
@ -70,6 +70,7 @@ impl MDNSServiceDiscovery {
|
|||
format!("{}:{}", discovered_ip, discovered_port)
|
||||
.parse()
|
||||
.unwrap();
|
||||
|
||||
event_tx
|
||||
.send(MDNSServiceDiscoveryEvent(discovered))
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in New Issue