Skip to content

Commit eb0895a

Browse files
committed
Explain change
1 parent f4014ab commit eb0895a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/simperium/channel.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,10 @@ LocalQueue.prototype.resendSentChanges = function() {
645645
function collectionRevisions( channel, id, callback ) {
646646
var expectedVersions = -1;
647647
var onGhostRetrieved = function( ghost ) {
648+
// the default bucket options allow for storing
649+
// the 60 most-recent revisions of a note plus
650+
// 100 archive versions (these store one out of
651+
// every ten versions). we'll get up to this many
648652
var version = Math.min( ghost.version, 160 );
649653
var i;
650654
expectedVersions = version;

0 commit comments

Comments
 (0)