Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit f35d5b3

Browse files
committed
Move Jaeger to Tokio
1 parent f6c3848 commit f35d5b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/jaeger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ edition = "2021"
66
description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo"
77

88
[dependencies]
9-
async-std = "1.11.0"
109
mick-jaeger = "0.1.8"
1110
lazy_static = "1.4"
1211
parking_lot = "0.12.0"
@@ -15,5 +14,6 @@ polkadot-node-primitives = { path = "../primitives" }
1514
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
1615
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
1716
thiserror = "1.0.31"
17+
tokio = "1.22.0"
1818
log = "0.4.17"
1919
parity-scale-codec = { version = "3.1.5", default-features = false }

node/jaeger/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Jaeger {
129129
"jaeger-collector",
130130
Some("jaeger"),
131131
Box::pin(async move {
132-
match async_std::net::UdpSocket::bind("0.0.0.0:0").await {
132+
match tokio::net::UdpSocket::bind("0.0.0.0:0").await {
133133
Ok(udp_socket) => loop {
134134
let buf = traces_out.next().await;
135135
// UDP sending errors happen only either if the API is misused or in case of missing privilege.

0 commit comments

Comments
 (0)