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 committed 2026-04-11 10:55:05 +05:00
1 parent d9c282fcf8
commit a56ef1fe11
1 file changed
+1 -1
+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)