add config CACHE_REDIS_PASSWORD and fix delete ci_type

This commit is contained in:
pycook
2023-08-23 18:05:28 +08:00
parent 52578d78d6
commit 36910d0052
2 changed files with 16 additions and 8 deletions

View File

@@ -35,6 +35,7 @@ SQLALCHEMY_ENGINE_OPTIONS = {
CACHE_TYPE = "redis"
CACHE_REDIS_HOST = "127.0.0.1"
CACHE_REDIS_PORT = 6379
CACHE_REDIS_PASSWORD = ""
CACHE_KEY_PREFIX = "CMDB::"
CACHE_DEFAULT_TIMEOUT = 3000