refactor(config): retire RuntimeSettingsCompat host usage

This commit is contained in:
jxxghp
2026-08-26 15:55:21 +08:00
parent cdab54254d
commit 9dbe424c3d
162 changed files with 1966 additions and 1745 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class SnapshotStore:
:param cache: 快照文件缓存,默认使用 CACHE_PATH/snapshots
"""
self._cache = cache if cache is not None else FileCache(
base=get_runtime_setting("CACHE_PATH") / "snapshots"
base=get_runtime_setting('CACHE_PATH') / "snapshots"
)
def save(self, storage: str, snapshot: Dict, file_count: int = 0,