From 1e607e90c08fa2b7a765360665cc392539e3ddec Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 04 八月 2023 13:20:55 +0800 Subject: [PATCH] redis连接池归还 --- constant.py | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/constant.py b/constant.py index 76fc271..609c55e 100644 --- a/constant.py +++ b/constant.py @@ -26,15 +26,15 @@ "db": 0, "pwd": "123456" } if is_windows() else { - # "host": "172.16.32.15", - # "port": 6379, - # "db": 0, - # "pwd": "Yeshi2016@" - - "host": "127.0.0.1", - "port": 6380, + "host": "172.16.32.15", + "port": 6379, "db": 0, - "pwd": "123456" + "pwd": "Yeshi2016@" + + # "host": "127.0.0.1", + # "port": 6380, + # "db": 0, + # "pwd": "123456" } MYSQL_CONFIG = { -- Gitblit v1.8.0