Skip to content

Commit

Permalink
fix: revoke removing limit param in sync service impl
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-shris committed Dec 13, 2024
1 parent 8585b18 commit 0400a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions packages/at_client/lib/src/service/sync_service_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0400a93

Please sign in to comment.