From d518a3fc1bf43257f035914c740c7b41bcb0cd8a Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Wed, 8 May 2024 23:56:29 +0900 Subject: [PATCH] Fixed: - Now the remote chunks could be decrypted even if we are using `Incubate chunks in Document`. (The note of 0.23.6 has been fixed). - Chunk retrieving with `Incubate chunks in document` got more efficiently. - No longer task processor misses the completed tasks. - Replication is no longer started automatically during changes in window visibility (e.g., task switching on the desktop) when off-focused. --- src/features/CmdConfigSync.ts | 1 + src/lib | 2 +- src/main.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/features/CmdConfigSync.ts b/src/features/CmdConfigSync.ts index 201ade6..f55646f 100644 --- a/src/features/CmdConfigSync.ts +++ b/src/features/CmdConfigSync.ts @@ -684,6 +684,7 @@ export class ConfigSync extends LiveSyncCommands { children: [], deleted: false, type: "newnote", + eden: {} }; } else { if (old.mtime == mtime) { diff --git a/src/lib b/src/lib index 3c0ff96..57f0be0 160000 --- a/src/lib +++ b/src/lib @@ -1 +1 @@ -Subproject commit 3c0ff967e9e63e22a5513b7116894a9e162bb810 +Subproject commit 57f0be04647ac7ac2cb246e7cafe7905ee5fd132 diff --git a/src/main.ts b/src/main.ts index 97083ec..092b205 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1374,6 +1374,7 @@ We can perform a command in this file. } else { // suspend all temporary. if (this.suspended) return; + if (!this.hasFocus) return; await Promise.all(this.addOns.map(e => e.onResume())); if (this.settings.remoteType == REMOTE_COUCHDB) { if (this.settings.liveSync) {