add chongming-cache
This commit is contained in:
+11
@@ -14,8 +14,16 @@ json5_path = "./config/zenoh_config.json5"
|
||||
job_store_path = "scheduler_jobs.db"
|
||||
|
||||
[cache]
|
||||
backend = "diskcache" # "diskcache"(默认) | "redis"
|
||||
cache_store_path = "./cache_data"
|
||||
|
||||
# redis 后端专用(backend = "redis" 时生效,均有默认值)
|
||||
# redis_host = "127.0.0.1"
|
||||
# redis_port = 6379
|
||||
# redis_db = 0
|
||||
# redis_password = ""
|
||||
# redis_prefix = "chongming:"
|
||||
|
||||
[security]
|
||||
algorithm = "HS256"
|
||||
secret_key = "your-secret-key-change-in-production"
|
||||
@@ -76,6 +84,9 @@ base = [
|
||||
"uvicorn",
|
||||
"apscheduler",
|
||||
"diskcache",
|
||||
"chongming_cache",
|
||||
"chongming_cache.backends",
|
||||
"chongming_cache.backends.disk",
|
||||
"orjson",
|
||||
"python_multipart",
|
||||
"volcenginesdkarkruntime",
|
||||
|
||||
Reference in New Issue
Block a user