perf: Cache config

This commit is contained in:
fit2cloud-chenyw
2025-07-24 16:15:33 +08:00
parent 19c0f946e3
commit e739284db9
5 changed files with 36 additions and 16 deletions
+3
View File
@@ -21,6 +21,9 @@ LOG_DIR="/opt/sqlbot/logs"
LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s:%(lineno)d - %(message)s"
SQL_DEBUG=False
CACHE_TYPE="memory"
CACHE_REDIS_URL="redis://127.0.0.1:6379"
# Postgres
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432