From 7e2bea36ff56e4fb2ce462ea556ea62469b99de6 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 19 Dec 2025 13:55:46 +0800
Subject: [PATCH] fix(okxNewPrice): 调整网格列表枚举参数

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxQuantWebSocketClient.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxQuantWebSocketClient.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxQuantWebSocketClient.java
index 8c97c0b..2655ef0 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxQuantWebSocketClient.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxQuantWebSocketClient.java
@@ -51,6 +51,14 @@
         return webSocketClient;
     }
     
+    /**
+     * 获取账号名称
+     * @return 账号名称
+     */
+    public String getAccountName() {
+        return account.name();
+    }
+    
     public OkxQuantWebSocketClient(ExchangeInfoEnum account,
                                    RedisUtils redisUtils) {
         this.account = account;
@@ -477,7 +485,7 @@
         }
         
         int attempt = 0;
-        int maxAttempts = 5;
+        int maxAttempts = 3;
         long delayMs = 1000;
 
         while (attempt < maxAttempts && !isConnected.get()) {

--
Gitblit v1.9.1