huaxin_client/l2_data_manager.py
@@ -208,10 +208,11 @@ l2_data_callback.OnL2Order(code, udatas, int(time.time() * 1000)) # l2_data_transaction_protocol.send_l2_order_detail(pipe, _mmap, code, udatas) use_time = int((time.time() - start_time) * 1000) if use_time > 20: if use_time > 10: async_log_util.info(logger_local_huaxin_l2_upload, f"{code}-上传代码耗时:{use_time}ms") time.sleep(0.01) else: # 没有数据的时候需等待,有数据时不需等待 time.sleep(0.004) except Exception as e: hx_logger_contact_debug.exception(e) logger_local_huaxin_l2_error.error(f"上传订单数据出错:{str(e)}")