回退
This commit is contained in:
@@ -9,8 +9,8 @@ REDIS_LOCK_MAX_RETRIES=100
|
|||||||
|
|
||||||
# 业务配置
|
# 业务配置
|
||||||
COUNT_THRESHOLD=3
|
COUNT_THRESHOLD=3
|
||||||
EXTERNAL_API_RETRY_MAX=4
|
EXTERNAL_API_RETRY_MAX=3
|
||||||
EXTERNAL_API_URL=https://external.com/api/openapi/customerApi/aiTaskResultFail
|
EXTERNAL_API_URL=https://jeep-api.d2c.stlassac.com/api/openapi/customerApi/aiTaskResultFail
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
LOG_LEVEL=INFO
|
LOG_LEVEL=INFO
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from pydantic_settings import BaseSettings
|
|||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
database_url: str = "postgresql+asyncpg://user:password@localhost:5432/ai_talk_callback_db"
|
database_url: str = ""
|
||||||
|
|
||||||
# Redis配置
|
# Redis配置
|
||||||
redis_url: str = "redis://localhost:6379/0"
|
redis_url: str = "redis://localhost:6379/0"
|
||||||
@@ -13,8 +13,8 @@ class Settings(BaseSettings):
|
|||||||
|
|
||||||
# 业务配置
|
# 业务配置
|
||||||
count_threshold: int = 3 # count阈值,大于等于此值直接返回
|
count_threshold: int = 3 # count阈值,大于等于此值直接返回
|
||||||
external_api_retry_max: int = 4 # 外部API最大重试次数
|
external_api_retry_max: int = 3 # 外部API最大重试次数
|
||||||
external_api_url: str = "https://external.com/api/openapi/customerApi/aiTaskResultFail"
|
external_api_url: str = ""
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
log_level: str = "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
log_level: str = "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||||
|
|||||||
Reference in New Issue
Block a user