[Search] Decrement number of pending requests

This commit is contained in:
Pete Richards 2015-10-16 18:14:33 -07:00
parent 14094a48fc
commit 98b5ff3c77

View File

@ -206,6 +206,7 @@ define([
.warn('Failed to index domain object ' + idToIndex); .warn('Failed to index domain object ' + idToIndex);
}) })
.then(function () { .then(function () {
provider.pendingRequests -=1;
provider.keepIndexing(); provider.keepIndexing();
}); });
}; };