celery异步redis save

This commit is contained in:
2026-05-27 14:14:59 +08:00
parent 45b2363bad
commit c17d467f59
+2
View File
@@ -9,6 +9,8 @@ DATABASE_URL=postgresql+asyncpg://videogen:7k33pnXdPL62Yyb4@180.184.42.66:5432/v
# Redis (leave empty to disable - rate limiting and captcha will use in-memory fallback)
REDIS_URL=redis://localhost:6379/3
CELERY_BROKER_URL=redis://localhost:6379/5
CELERY_RESULT_BACKEND=redis://localhost:6379/6
# JWT
JWT_ALGORITHM=HS256