去掉redis
启动时只检查数据库连接不更新表结构
This commit is contained in:
@@ -5,12 +5,6 @@ class Settings(BaseSettings):
|
||||
# 数据库配置
|
||||
database_url: str = ""
|
||||
|
||||
# Redis配置
|
||||
redis_url: str = "redis://localhost:6379/0"
|
||||
redis_lock_timeout: int = 30 # 锁超时时间(秒)
|
||||
redis_lock_retry_delay: float = 0.1 # 锁重试延迟(秒)
|
||||
redis_lock_max_retries: int = 100 # 最大重试次数
|
||||
|
||||
# 业务配置
|
||||
count_threshold: int = 3 # count阈值,大于等于此值直接返回
|
||||
external_api_enabled: bool = False # 是否启用外部API调用
|
||||
|
||||
Reference in New Issue
Block a user