Skip to content

Commit

Permalink
Bug 1288877 - prevent bookmarks batch operations from triggering a co…
Browse files Browse the repository at this point in the history
…ntinious sync.r=tcsc

MozReview-Commit-ID: L2zh6owKH4S
  • Loading branch information
mhammond committed Jul 23, 2016
1 parent 554011b commit 2322a40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/sync/modules/engines/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,7 @@ BookmarksTracker.prototype = {
onEndUpdateBatch: function () {
if (--this._batchDepth === 0 && this._batchSawScoreIncrement) {
this.score += SCORE_INCREMENT_XLARGE;
this._batchSawScoreIncrement = false;
}
},
onItemVisited: function () {}
Expand Down

0 comments on commit 2322a40

Please sign in to comment.