浏览代码

移除一些不必要日志。

skyffire 1 年之前
父节点
当前提交
c1e3f9a5e1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      standard/src/bybit_swap.rs
  2. 1 1
      standard/src/gate_swap.rs

+ 1 - 1
standard/src/bybit_swap.rs

@@ -549,7 +549,7 @@ impl Platform for BybitSwap {
 
             let handle = tokio::spawn(async move {
                 ts.on_before_send();
-                TraceStack::show_delay(&ts.ins);
+                // TraceStack::show_delay(&ts.ins);
                 let result = self_clone.take_order(cid.as_str(), side.as_str(), price, amount).await;
                 ts.on_after_send();
                 match result {

+ 1 - 1
standard/src/gate_swap.rs

@@ -605,7 +605,7 @@ impl Platform for GateSwap {
             //  order_name: [数量,方向,价格,c_id]
             let mut self_clone = self.clone();
             let handle = spawn(async move {
-                TraceStack::show_delay(&ts.ins);
+                // TraceStack::show_delay(&ts.ins);
                 ts.on_before_send();
                 let result = self_clone.take_order(&cid, &side, price, amount).await;
                 ts.on_after_send();