Selaa lähdekoodia

一些日志问题的修改

skyfffire 2 vuotta sitten
vanhempi
commit
119238dc55
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      strategy/src/strategy.rs

+ 3 - 3
strategy/src/strategy.rs

@@ -212,7 +212,7 @@ impl Strategy {
         strategy._start_time = now.timestamp_millis();
         // 检查订单的时间戳
         strategy._check_local_orders_time = now.timestamp_millis();
-        strategy._check_local_orders_interval = 5 * 1000;
+        strategy._check_local_orders_interval = 10 * 1000;
         // 下单的相关限制处理
         strategy.place_order_limit = params.place_order_limit;
         strategy.request_limit_check_time = now.timestamp_millis();
@@ -541,7 +541,7 @@ impl Strategy {
             }
 
             // 等待超时,就移除正在撤单队列
-            info!("移除查单队列:{}", client_id.clone());
+            debug!("移除查单队列:{}", client_id.clone());
             to_remove.push(client_id.clone());
         }
 
@@ -966,7 +966,7 @@ impl Strategy {
             ];
             command.check.insert(key, value);
             self.in_check.insert(client_id.clone(), self.local_time);
-            info!("查询订单:{:?}", client_id.clone());
+            debug!("查询订单:{:?}", client_id.clone());
 
             debug!(?command);
         }