@resolveio/server-lib 4.4.7 → 4.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -510,15 +510,15 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
510
510
|
var _this = this;
|
|
511
511
|
var that = this;
|
|
512
512
|
setInterval(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
513
|
-
var
|
|
513
|
+
var uniqueOplog_1, uniquePubs, needIds_1, _loop_3, i, i, oplog, _loop_4, j, state_1;
|
|
514
514
|
var _this = this;
|
|
515
515
|
return __generator(this, function (_a) {
|
|
516
516
|
switch (_a.label) {
|
|
517
517
|
case 0:
|
|
518
518
|
if (!this._oplogQueue.length) return [3 /*break*/, 11];
|
|
519
|
+
uniqueOplog_1 = common_1.deepCopy(this._oplogQueue);
|
|
519
520
|
this._oplogQueue = [];
|
|
520
521
|
uniquePubs = [];
|
|
521
|
-
uniqueOplog_1 = common_1.deepCopy(this._oplogQueue);
|
|
522
522
|
needIds_1 = {};
|
|
523
523
|
uniqueOplog_1.forEach(function (oplog) {
|
|
524
524
|
var schemaErrors = null;
|