Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: update p2p lib #79

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: update p2p lib
  • Loading branch information
giangndm committed Nov 8, 2024
commit 7bc2d4980e0da1348aaee86978fb56df1d71eda6
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ members = [
]

[workspace.dependencies]
p2p = { package = "atm0s-small-p2p", version = "0.1.0" }
p2p = { package = "atm0s-small-p2p", version = "0.2.0" }
protocol = { path = "crates/protocol", package = "atm0s-reverse-proxy-protocol", version = "0.3.0" }
protocol-ed25519 = { path = "crates/protocol_ed25519", package = "atm0s-reverse-proxy-protocol-ed25519", version = "0.1.4" }

@@ -36,7 +36,7 @@ url = "2.5"
base64 = "0.22"
local-ip-address = "0.6"
derive_more = "1.0"
thiserror = "1.0"
thiserror = "2.0"
anyhow = "1.0"
parking_lot = "0.12"
futures = "0.3"
2 changes: 1 addition & 1 deletion bin/relayer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@

let mut sdn_alias = AliasService::new(sdn.create_service(ALIAS_SERVICE.into()));
let sdn_alias_requester = sdn_alias.requester();
tokio::spawn(async move { while sdn_alias.recv().await.is_ok() {} });
tokio::spawn(async move { while sdn_alias.run_loop().await.is_ok() {} });

Check warning on line 125 in bin/relayer/src/lib.rs

Codecov / codecov/patch

bin/relayer/src/lib.rs#L125

Added line #L125 was not covered by tests
let sdn_proxy_service = sdn.create_service(PROXY_TO_AGENT_SERVICE.into());
let sdn_tunnel_service = sdn.create_service(TUNNEL_TO_CLUSTER_SERVICE.into());
let tunnel_service_ctx = TunnelServiceCtx {
Loading