Skip to content

Commit a23929b

Browse files
committed
Remove outdated comment
1 parent eb8ec6d commit a23929b

File tree

1 file changed

+0
-7
lines changed
  • packages/service-core/src/sync

1 file changed

+0
-7
lines changed

packages/service-core/src/sync/sync.ts

-7
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,6 @@ async function* streamResponseInner(
200200
function markOperationsSent(operations: number) {
201201
syncedOperations += operations;
202202
tracker.addOperationsSynced(operations);
203-
// Disable interrupting checkpoints for now.
204-
// There is a bug with interrupting checkpoints where:
205-
// 1. User is in the middle of syncing a large batch of data (for example initial sync).
206-
// 2. A new checkpoint comes in, which interrupts the batch.
207-
// 3. However, the new checkpoint does not contain any new data for this connection, so nothing further is synced.
208-
// This then causes the client to wait indefinitely for the remaining data or checkpoint_complete message. That is
209-
// only resolved when a new checkpoint comes in that does have data for this connection, or the connection is restarted.
210203
maybeRaceForNewCheckpoint();
211204
}
212205

0 commit comments

Comments
 (0)