From dfd766139d37b0bd038288952cb24df76f4289f9 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 11 Dec 2025 17:38:56 +0800
Subject: [PATCH] feat(redis): 添加带延迟的Redis读取方法以提高数据一致性
---
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
index 3a53134..9379534 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
@@ -31,10 +31,7 @@
JSONObject args = new JSONObject();
args.put("channel", POSITIONSWS_CHANNEL);
args.put("instType", CoinEnums.INSTTYPE_SWAP.getCode());
-// args.put("instId", CoinEnums.HE_YUE.getCode());
- JSONObject updateInterval = new JSONObject();
- updateInterval.put("updateInterval",CoinEnums.UPDATEINTERVAL.getCode());
- args.put("extraParams", updateInterval);
+ args.put("instId", CoinEnums.HE_YUE.getCode());
argsArray.add(args);
String connId = MallUtils.getOrderNum(POSITIONSWS_CHANNEL);
--
Gitblit v1.9.1