mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 02:39:39 +02:00
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:
1 parent
d9c282fcf8
commit
a56ef1fe11
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user