[Add] client side identification
This commit is contained in:
parent
789172cf0e
commit
9dd9a919f6
5 changed files with 433 additions and 29 deletions
|
|
@ -12,7 +12,7 @@ use dashmap::DashMap;
|
|||
use epsilon_core::{CommunicationType, CommunicationValue, DataTypes, DataValue, rand_u32};
|
||||
use epsilon_native::{Receiver, Sender};
|
||||
use once_cell::sync::Lazy;
|
||||
use std::{collections::HashMap, env, net::SocketAddr, sync::Arc, time::Duration};
|
||||
use std::{collections::HashMap, env, sync::Arc, time::Duration};
|
||||
use tokio::{
|
||||
sync::{Mutex, RwLock, mpsc, watch},
|
||||
task::JoinHandle,
|
||||
|
|
@ -250,9 +250,6 @@ impl OmegaConnection {
|
|||
addr_str
|
||||
);
|
||||
|
||||
// Reset reconnect delay on successful connection
|
||||
let reconnect_delay = RECONNECT_DELAY;
|
||||
|
||||
// Store sender
|
||||
let sender_arc = Arc::new(sender);
|
||||
*self.sender.write().await = Some(sender_arc.clone());
|
||||
|
|
|
|||
Loading…
Reference in a new issue