Skip to content

Commit f43a1b0

Browse files
committed
Merge branch 'master' into revisions/increase-count
# Conflicts: # package.json
2 parents c72f4c4 + 51a737b commit f43a1b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/simperium/channel.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,11 @@ Channel.prototype.onIndex = function( data ) {
399399
cv = page.current,
400400
update = internal.updateObjectVersion.bind( this );
401401

402+
if ( !mark ) {
403+
// Let the bucket know straight away that indexing has finished
404+
this.bucket.isIndexing = false;
405+
}
406+
402407
var objectId;
403408
objects.forEach( function( object ) {
404409
objectId = object.id;
@@ -785,4 +790,3 @@ function collectionRevisions( channel, id, callback ) {
785790
// and set an initial timeout for failed connections
786791
timeout = setTimeout( finish, TIMEOUT * 4 );
787792
}
788-

0 commit comments

Comments
 (0)