1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

All: Fixes #600: Improved resuming of long sync operations so that it doesn't needlessly re-download the items from the beginning

This commit is contained in:
Laurent Cozic
2018-06-10 23:16:27 +01:00
parent ab9675544c
commit b6619b41df
4 changed files with 16 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ function basicDeltaContextFromOptions_(options) {
// a built-in delta API. OneDrive and Dropbox have one for example, but Nextcloud and obviously
// the file system do not.
async function basicDelta(path, getDirStatFn, options) {
const outputLimit = 1000;
const outputLimit = 50;
const itemIds = await options.allItemIdsHandler();
if (!Array.isArray(itemIds)) throw new Error('Delta API not supported - local IDs must be provided');