mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 06:56:43 +08:00
refactor: reorganize startup persistence boundaries
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ from sqlalchemy import pool
|
||||
from alembic import context
|
||||
|
||||
from app.db import Base
|
||||
from app.startup.cache_initializer import configure_cache_dependencies
|
||||
from app.startup.initializers.cache import configure_cache_dependencies
|
||||
|
||||
# 历史 migration 会调用使用 FileCache 的业务清理链,Alembic 自身也是组合入口。
|
||||
configure_cache_dependencies()
|
||||
|
||||
Reference in New Issue
Block a user