From c3429ad2482280083c8399412e6b2f3f6144d3b7 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 04 八月 2023 10:48:45 +0800
Subject: [PATCH] redis连接池归还

---
 third_data/history_k_data_util.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/third_data/history_k_data_util.py b/third_data/history_k_data_util.py
index cac3680..4ac311e 100644
--- a/third_data/history_k_data_util.py
+++ b/third_data/history_k_data_util.py
@@ -91,7 +91,7 @@
             token = RedisUtils.get(redis, "juejin-token", auto_free=False)
             return account_id, strategy_id, token
         finally:
-            redis.connection_pool.disconnect()
+            RedisUtils.realse(redis)
 
 
     @classmethod

--
Gitblit v1.8.0