Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Oct 18, 2024
1 parent 411ce8f commit af7981f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/polling/updaters/segmentChangesUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function segmentChangesUpdaterFactory(
segmentChangesFetcher(since, segmentName, noCache, till).then((changes) => {
return Promise.all(changes.map(x => {
log.debug(`${LOG_PREFIX_SYNC_SEGMENTS}Processing ${segmentName} with till = ${x.till}. Added: ${x.added.length}. Removed: ${x.removed.length}`);
return segments.update(x.name, x.added, x.removed, x.till);
return segments.update(segmentName, x.added, x.removed, x.till);
})).then((updates) => {
return updates.some(update => update);
});
Expand Down

0 comments on commit af7981f

Please sign in to comment.