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
As title states, trying to understand why websocket has two different channels (/core/src/connectivity/websocket.rs)
pubstructWsSender{/// Main websocket connection sendermain_sender: mpsc::UnboundedSender<Message>,/// Secondary websocket connection sendersecondary_sender:Option<mpsc::UnboundedSender<Message>>,/// Cancellation token for service futures_cancel:CancellationTokenDropGuard,}
Is one for hotpath data such as trades/orderbook updates and the secondary one for intra service communication, trigger callback etc?
The text was updated successfully, but these errors were encountered:
As title states, trying to understand why websocket has two different channels (/core/src/connectivity/websocket.rs)
Is one for hotpath data such as trades/orderbook updates and the secondary one for intra service communication, trigger callback etc?
The text was updated successfully, but these errors were encountered: