mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 01:42:56 +00:00
fix(sessions): avoid parsing object cache writes
This commit is contained in:
@@ -385,9 +385,7 @@ export function writeSessionStoreCache(params: {
|
||||
takeOwnership?: boolean;
|
||||
}): void {
|
||||
const store =
|
||||
params.takeOwnership === true
|
||||
? params.store
|
||||
: cloneSessionStoreRecord(params.store, params.serialized);
|
||||
params.takeOwnership === true ? params.store : cloneSessionStoreRecord(params.store);
|
||||
if (params.takeOwnership === true) {
|
||||
internSessionStoreLargeStrings(store);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user