mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-23 08:28:03 +00:00
use ws_client in shard, too, and make it better at handling core disconnecting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::{ops::{Deref, DerefMut}, time::Duration};
|
||||
|
||||
use crate::feed_message_de::FeedMessage;
|
||||
use crate::ws_client;
|
||||
use common::ws_client;
|
||||
use futures::{Sink, SinkExt, Stream, StreamExt};
|
||||
|
||||
/// Wrap a `ws_client::Sender` with convenient utility methods for shard connections
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use super::{channels, utils};
|
||||
use crate::ws_client;
|
||||
use common::ws_client;
|
||||
use common::{id_type, DenseMap};
|
||||
use std::ffi::OsString;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::ws_client;
|
||||
use common::ws_client;
|
||||
use anyhow::{anyhow, Context};
|
||||
use tokio::io::BufReader;
|
||||
use tokio::io::{AsyncBufReadExt, AsyncRead, AsyncWrite};
|
||||
|
||||
Reference in New Issue
Block a user