diff --git a/packages/at_client/lib/src/preference/at_client_preference.dart b/packages/at_client/lib/src/preference/at_client_preference.dart index 5eeaa8a95..e37b59912 100644 --- a/packages/at_client/lib/src/preference/at_client_preference.dart +++ b/packages/at_client/lib/src/preference/at_client_preference.dart @@ -59,7 +59,7 @@ class AtClientPreference { int syncBatchSize = 5; /// The number of keys to pull from cloud secondary to local secondary in a single call. - int syncPageLimit = 10; + int syncPageLimit = 25; // Default chunk size for file encryption and decryption int fileEncryptionChunkSize = 4096; diff --git a/packages/at_client/lib/src/service/sync_service_impl.dart b/packages/at_client/lib/src/service/sync_service_impl.dart index 36c08256b..240fd865c 100644 --- a/packages/at_client/lib/src/service/sync_service_impl.dart +++ b/packages/at_client/lib/src/service/sync_service_impl.dart @@ -542,6 +542,7 @@ class SyncServiceImpl implements SyncService, AtSignChangeListener { // Sync verb syntax has to be changed before removing these deprecations var syncBuilder = SyncVerbBuilder() ..commitId = lastReceivedServerCommitId + ..limit = _atClient.getPreferences()!.syncPageLimit ..regex = _atClient.getPreferences()!.syncRegex; _logger.finer(_logger.getLogMessageWithClientParticulars( _atClient.getPreferences()!.atClientParticulars,