From 4d321ae069fce2c0f6f7884bec8fa6c4ec534d1a Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 03 八月 2023 18:25:33 +0800
Subject: [PATCH] redis连接池归还

---
 config/settings.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/config/settings.py b/config/settings.py
index bd84c0e..4936585 100644
--- a/config/settings.py
+++ b/config/settings.py
@@ -22,8 +22,6 @@
 
 def set_accept_l2_data(val):
     if val:
-        RedisUtils.set(
-            __get_redis(),"not_accpt_l2_data", 0)
+        RedisUtils.set(__get_redis(), "not_accpt_l2_data", 0)
     else:
-        RedisUtils.set(
-            __get_redis(),"not_accpt_l2_data", 1)
+        RedisUtils.set(__get_redis(), "not_accpt_l2_data", 1)

--
Gitblit v1.8.0