feat: update session management functions and improve partition handling
Desktop Client Build / Resolve Build Metadata (push) Successful in 31s
Frontend CI / Frontend (push) Successful in 2m58s
Backend CI / Backend (push) Successful in 18m2s
Desktop Client Build / Build Desktop Client (push) Successful in 24m49s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 38s
Desktop Client Build / Resolve Build Metadata (push) Successful in 31s
Frontend CI / Frontend (push) Successful in 2m58s
Backend CI / Backend (push) Successful in 18m2s
Desktop Client Build / Build Desktop Client (push) Successful in 24m49s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 38s
This commit is contained in:
@@ -385,7 +385,8 @@ async function cleanDesktopStorageOnce(): Promise<DesktopStorageCleanupResult> {
|
||||
|
||||
for (const [partition, accountId] of persistedPartitions) {
|
||||
const root = partitionPath(partition)
|
||||
if (root && before.entries.some((entry) => entry.partition === partition)) {
|
||||
const footprint = root ? await directoryFootprint(root) : { bytes: 0, lastModifiedAt: null }
|
||||
if (footprint.bytes > 0 || footprint.lastModifiedAt) {
|
||||
continue
|
||||
}
|
||||
forgetPersistedSessionPartition(accountId, partition)
|
||||
|
||||
Reference in New Issue
Block a user