diff --git a/Notesnook.API/Services/SyncDeviceService.cs b/Notesnook.API/Services/SyncDeviceService.cs index bd99082..fa71816 100644 --- a/Notesnook.API/Services/SyncDeviceService.cs +++ b/Notesnook.API/Services/SyncDeviceService.cs @@ -73,7 +73,7 @@ namespace Notesnook.API.Services return result; } - const int MaxIdsPerChunk = 400_000; + const int MaxIdsPerChunk = 25_000; public async Task AppendIdsAsync(string userId, string deviceId, string key, IEnumerable ids) { var filter = DeviceIdsChunkFilter(userId, deviceId, key) & Builders.Filter.Where(x => x.Ids.Length < MaxIdsPerChunk);