sync: reduce chunk size to 3MB

this will increase the number of round trips but will make the sync
more reliable on slow devices that take longer to process 7MB
chunks.
This commit is contained in:
Abdullah Atta
2026-04-11 10:54:26 +05:00
parent d9c282fcf8
commit a56ef1fe11
+1 -1
View File
@@ -257,7 +257,7 @@ namespace Notesnook.API.Hubs
ids,
size: 100,
resetSync: device.IsSyncReset,
maxBytes: 7 * 1024 * 1024
maxBytes: 3 * 1024 * 1024
);
await foreach (var chunk in chunks)