celery任务改为异步访问数据库

This commit is contained in:
mark.tian
2025-12-10 11:40:56 +08:00
parent d3d3502f5a
commit 572cc3113f
5 changed files with 456 additions and 213 deletions

View File

@@ -5,6 +5,7 @@ asyncpg>=0.31.0
alembic>=1.17.2
celery>=5.6.0
redis>=7.1.0
aioredis==1.3.1
flower>=2.0.1
pydantic>=2.12.5
pydantic-settings>=2.12.0
@@ -12,5 +13,4 @@ python-multipart>=0.0.20
httpx>=0.28.1
python-dotenv>=1.2.1
pytest>=9.0.2
pytest-asyncio>=1.3.0
requests==2.32.5