Skip to content

Commit ed9a4ec

Browse files
committed
Fix the single shot pull replication to pull up to 50 docs
The limit was set to 50 in the code for some time but has never been used. In 1.3, the code that apply the limit (if the limit is set) was added. Adding the limit caused the issue that a single shot pull replication will only pull up to the limit and stop. There is no limit set in couchbase-lite-ios as well. Simply removing the limit should solve the issue. https://github.com/couchbase/couchbase-lite-android/issues/955
1 parent 8ab6239 commit ed9a4ec

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/couchbase/lite/replicator/ChangeTracker.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public ChangeTracker(URL databaseURL, ChangeTrackerMode mode, boolean includeCon
104104
this.client = client;
105105
this.requestHeaders = new HashMap<String, Object>();
106106
this.heartBeatSeconds = Replication.DEFAULT_HEARTBEAT;
107-
this.limit = 50;
108107
this.usePOST = true;
109108
}
110109

0 commit comments

Comments
 (0)