complete removal of node holders
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m13s
Build and Test / splatoon (push) Successful in 7m7s
Build and Test / sonic-transformed (push) Successful in 7m9s
Build and Test / mario-tennis (push) Successful in 7m8s
Build and Test / minecraft-wiiu (push) Successful in 7m32s
Build and Test / fast-racing-neo (push) Successful in 7m33s
Build and Test / wii-sports-club (push) Successful in 7m33s
Build and Test / puyopuyo (push) Successful in 7m33s
Build and Test / wii-u-chat (push) Successful in 7m38s
Build and Test / terraria (push) Successful in 8m0s
Build and Test / super-mario-maker (push) Successful in 8m11s
Build and Test / friends (push) Successful in 8m11s
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m13s
Build and Test / splatoon (push) Successful in 7m7s
Build and Test / sonic-transformed (push) Successful in 7m9s
Build and Test / mario-tennis (push) Successful in 7m8s
Build and Test / minecraft-wiiu (push) Successful in 7m32s
Build and Test / fast-racing-neo (push) Successful in 7m33s
Build and Test / wii-sports-club (push) Successful in 7m33s
Build and Test / puyopuyo (push) Successful in 7m33s
Build and Test / wii-u-chat (push) Successful in 7m38s
Build and Test / terraria (push) Successful in 8m0s
Build and Test / super-mario-maker (push) Successful in 8m11s
Build and Test / friends (push) Successful in 8m11s
This commit is contained in:
parent
c5790cbed2
commit
0ab4f0263c
3 changed files with 12 additions and 12 deletions
|
|
@ -44,7 +44,7 @@ impl Into<Error> for (&'static str, AddrParseError) {
|
||||||
|
|
||||||
pub struct ProxyStartupParam {
|
pub struct ProxyStartupParam {
|
||||||
pub forward_destination: SocketAddr,
|
pub forward_destination: SocketAddr,
|
||||||
pub edge_node_holder: SocketAddr,
|
// pub edge_node_holder: SocketAddr,
|
||||||
pub self_public: SocketAddrV4,
|
pub self_public: SocketAddrV4,
|
||||||
pub self_private: SocketAddrV4,
|
pub self_private: SocketAddrV4,
|
||||||
pub virtual_port: VirtualPort,
|
pub virtual_port: VirtualPort,
|
||||||
|
|
@ -85,7 +85,7 @@ impl ProxyStartupParam {
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
forward_destination: try_get_env("FORWARD_DESTINATION")?,
|
forward_destination: try_get_env("FORWARD_DESTINATION")?,
|
||||||
edge_node_holder: try_get_env("EDGE_NODE_HOLDER")?,
|
// edge_node_holder: try_get_env("EDGE_NODE_HOLDER")?,
|
||||||
self_private,
|
self_private,
|
||||||
self_public,
|
self_public,
|
||||||
virtual_port: match prox_ty {
|
virtual_port: match prox_ty {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ cfg_if! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn edge_node_dc_callback() {
|
// pub fn edge_node_dc_callback() {
|
||||||
error!("disconnected from node holder, aborting!");
|
// error!("disconnected from node holder, aborting!");
|
||||||
abort()
|
// abort()
|
||||||
}
|
// }
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,12 @@ cfg_if! {
|
||||||
mod packet;
|
mod packet;
|
||||||
mod server;
|
mod server;
|
||||||
|
|
||||||
pub static EDGE_NODE_HOLDER: LazyLock<SocketAddrV4> = LazyLock::new(|| {
|
// pub static EDGE_NODE_HOLDER: LazyLock<SocketAddrV4> = LazyLock::new(|| {
|
||||||
env::var("EDGE_NODE_HOLDER")
|
// env::var("EDGE_NODE_HOLDER")
|
||||||
.ok()
|
// .ok()
|
||||||
.and_then(|s| s.parse().ok())
|
// .and_then(|s| s.parse().ok())
|
||||||
.expect("EDGE_NODE_HOLDER not set")
|
// .expect("EDGE_NODE_HOLDER not set")
|
||||||
});
|
// });
|
||||||
|
|
||||||
pub static FORWARD_DESTINATION: LazyLock<SocketAddrV4> = LazyLock::new(|| {
|
pub static FORWARD_DESTINATION: LazyLock<SocketAddrV4> = LazyLock::new(|| {
|
||||||
env::var("FORWARD_DESTINATION")
|
env::var("FORWARD_DESTINATION")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue