优化推送任务
This commit is contained in:
10
.env.example
10
.env.example
@@ -5,6 +5,16 @@ DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/ai_talk_callback_
|
||||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
||||
|
||||
# Redis配置 (扩展配置,如果需要覆盖默认值)
|
||||
REDIS_PASSWORD=
|
||||
REDIS_MAX_CONNECTIONS=20
|
||||
REDIS_TIMEOUT=5
|
||||
|
||||
# Redis分布式锁配置
|
||||
REDIS_LOCK_TIMEOUT=300
|
||||
REDIS_LOCK_MAX_RETRIES=10
|
||||
REDIS_LOCK_RETRY_DELAY=0.5
|
||||
|
||||
# 业务配置
|
||||
COUNT_THRESHOLD=3
|
||||
EXTERNAL_API_ENABLED=false
|
||||
|
||||
Reference in New Issue
Block a user