mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-13 11:34:43 +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:
@@ -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