You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
Copy file name to clipboardExpand all lines: nym-vpn-core/crates/nym-connection-monitor/src/lib.rs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
use futures::channel::mpsc;
5
5
use nym_ip_packet_requests::IpPair;
6
6
use nym_sdk::mixnet::{MixnetClientSender,Recipient};
7
+
#[allow(deprecated)]
8
+
// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
7
9
use nym_task::TaskManager;
8
10
use tracing::info;
9
11
@@ -57,6 +59,7 @@ impl ConnectionMonitorTask {
57
59
self.icmp_beacon_identifier
58
60
}
59
61
62
+
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
use nym_sdk::mixnet::{InputMessage,MixnetClientSender,MixnetMessageSender,Recipient};
8
+
#[allow(deprecated)]
9
+
// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
10
+
use nym_task::{TaskClient, connections::TransmissionLane};
12
11
use tokio::task::JoinHandle;
13
12
use tracing::{debug, trace};
14
13
@@ -39,6 +38,7 @@ impl MixnetConnectionBeacon {
39
38
Ok(request_id)
40
39
}
41
40
41
+
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
Copy file name to clipboardExpand all lines: nym-vpn-core/crates/nym-connection-monitor/src/monitor.rs
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ use std::{
8
8
9
9
use futures::{StreamExt, channel::mpsc};
10
10
use nym_common::trace_err_chain;
11
-
use nym_sdk::TaskClient;
11
+
#[allow(deprecated)]
12
+
// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
13
+
use nym_task::TaskClient;
12
14
use tokio::task::JoinHandle;
13
15
14
16
usecrate::error::Result;
@@ -160,6 +162,7 @@ impl ConnectionMonitor {
160
162
}
161
163
}
162
164
165
+
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
if connectivity.entry == ConnectivityStatus::Fail{
193
197
tracing::error!("Entry gateway not routing our mixnet traffic");
@@ -291,6 +295,7 @@ impl nym_task::TaskStatusEvent for ConnectionMonitorStatus {
291
295
}
292
296
}
293
297
298
+
#[allow(deprecated)]// We should not migrate this to use an SDK task management of any sort, VPN should handle this how they want, this is a leaky abstraction
0 commit comments