소스 검색

一个链接可以订阅10个pair,一共2371个pair,所以需要238个conn,要做个测试才知道行不行。

skyffire 6 달 전
부모
커밋
216a9fa5b0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/exchange/mexc_spot_ws.rs

+ 2 - 1
src/exchange/mexc_spot_ws.rs

@@ -464,7 +464,8 @@ mod tests {
         let mut ws = MexcSpotWs::new_with_tag("Mexc".to_string(), None, MexcSpotWsType::PublicAndPrivate);
 
         ws.set_subscribe(vec![
-            // MexcSpotWsSubscribeType::PuFuturesRecords("Min1".to_string()),
+            MexcSpotWsSubscribeType::PuFuturesRecords("Min1".to_string()),
+            MexcSpotWsSubscribeType::PuFuturesRecords("Min3".to_string()),
             MexcSpotWsSubscribeType::PuFuturesDepth
         ]);