From 0a6f5df0d50952c6f073562adf81fc99757a7e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E6=9C=88?= <1724246050@qq.com> Date: Mon, 26 Aug 2024 17:55:27 +0800 Subject: [PATCH] bug redis port --- .gitignore | 2 ++ soulbook/config/dev_config.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7b6caf3..5420460 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,5 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ +log/ +.DS_Store diff --git a/soulbook/config/dev_config.py b/soulbook/config/dev_config.py index 5af8c8d..fe16ee7 100644 --- a/soulbook/config/dev_config.py +++ b/soulbook/config/dev_config.py @@ -17,7 +17,6 @@ class DevConfig(Config): REDIS_ENDPOINT=os.getenv('REDIS_ENDPOINT', "localhost"), REDIS_PORT=int(os.getenv('REDIS_PORT', 6379)), REDIS_PASSWORD=os.getenv('REDIS_PASSWORD', None), - REDIS_PORT=6379, CACHE_DB=0, SESSION_DB=1, POOLSIZE=10,