mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-05 14:48:40 +08:00
refactor: reorganize backend module boundaries
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
| Web framework | FastAPI |
|
||||
| ASGI server | Uvicorn |
|
||||
| Data validation | Pydantic v2 (`BaseModel`, `BaseSettings`, `model_validator`) |
|
||||
| Settings management | `pydantic-settings` (`BaseSettings` class in `app/platform/config.py`) |
|
||||
| Settings management | `pydantic-settings` (`BaseSettings` class in `app/runtime/config.py`) |
|
||||
|
||||
---
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
| Item | Detail |
|
||||
|---|---|
|
||||
| File-based cache | `FileCache` / `AsyncFileCache` in `app/platform/cache.py` |
|
||||
| File-based cache | `FileCache` / `AsyncFileCache` in `app/runtime/cache.py` |
|
||||
| Redis | Optional; `app/modules/redis/` module; used for distributed caching when configured |
|
||||
| In-process cache | Decorator helpers `fresh` / `async_fresh` on `FileCache` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user