fix: add redis_url field to WorkerSettings to pick up REDIS_URL env var
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1560h43m4s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1560h43m6s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1560h43m8s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1560h43m6s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1560h43m8s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1561h14m41s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1560h43m4s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1560h43m6s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1560h43m8s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1560h43m6s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1560h43m8s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1561h14m41s
Root cause of flag not working in staging: - WorkerSettings had no 'redis_url' field, so REDIS_URL env var was ignored - RenderEngineResolver fallback to broker_url (default redis://redis:6379/0) - Staging redis hostname is xiaoxia-redis-staging, so connection failed - Resolver degraded to in-memory store, flag always defaulted to disabled (legacy) Fix: add redis_url field so REDIS_URL env var is properly mapped
This commit is contained in:
@@ -17,6 +17,7 @@ class WorkerSettings(BaseSettings):
|
||||
database_pool_recycle: int = 3600
|
||||
environment: str = "development"
|
||||
auto_create_schema: bool = False
|
||||
redis_url: str = "redis://redis:6379/0"
|
||||
|
||||
# 渲染引擎选择:legacy=旧VideoComposeService,unified=新UnifiedRenderService
|
||||
render_engine: str = "legacy"
|
||||
|
||||
Reference in New Issue
Block a user