mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-07 21:00:21 +08:00
fix: update snapshot caching to store the entire snapshot object instead of its model dump
This commit is contained in:
@@ -425,7 +425,7 @@ class PluginSnapshotService:
|
||||
await CacheRoot.set(
|
||||
CacheType.PLUGIN_SNAPSHOT,
|
||||
cache_key,
|
||||
snapshot.model_dump(),
|
||||
snapshot,
|
||||
expire=PLUGIN_REDIS_TTL,
|
||||
)
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user