mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
fix: harden persistence tiers and opfs durability
This commit is contained in:
@@ -51,6 +51,12 @@ export function createGraphPersistenceState() {
|
||||
pendingPersist: false,
|
||||
lastAcceptedRevision: 0,
|
||||
acceptedStorageTier: "none",
|
||||
hostProfile: "generic-st",
|
||||
primaryStorageTier: "indexeddb",
|
||||
cacheStorageTier: "none",
|
||||
cacheMirrorState: "idle",
|
||||
persistDiagnosticTier: "none",
|
||||
acceptedBy: "none",
|
||||
lastRecoverableStorageTier: "none",
|
||||
persistMismatchReason: "",
|
||||
commitMarker: null,
|
||||
@@ -63,6 +69,12 @@ export function createGraphPersistenceState() {
|
||||
},
|
||||
storagePrimary: "indexeddb",
|
||||
storageMode: "indexeddb",
|
||||
opfsWriteLockState: {
|
||||
active: false,
|
||||
queueDepth: 0,
|
||||
lastReason: "",
|
||||
updatedAt: 0,
|
||||
},
|
||||
dbReady: false,
|
||||
indexedDbRevision: 0,
|
||||
indexedDbLastError: "",
|
||||
|
||||
Reference in New Issue
Block a user