@resolveio/server-lib 5.1.7 → 5.1.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.
|
@@ -90,9 +90,12 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
90
90
|
support_tickets_1.loadSupportTicketPublications(this);
|
|
91
91
|
this.tailOpLogSupport();
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
setInterval(function () {
|
|
94
|
+
console.log(new Date());
|
|
95
|
+
console.log('Sub Cache Length: ' + _this._subCache.length);
|
|
96
|
+
console.log('Sub Length: ' + _this._subscriptions.length);
|
|
97
|
+
console.log(_this._nodeCache.getStats().vsize);
|
|
98
|
+
}, 60000);
|
|
96
99
|
setInterval(function () {
|
|
97
100
|
if (!_this._runningQueue) {
|
|
98
101
|
if (_this._sendQueue.length) {
|
|
@@ -597,9 +600,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
597
600
|
sub['oplog'] = oplog;
|
|
598
601
|
uniquePubs.push(sub);
|
|
599
602
|
}
|
|
600
|
-
else {
|
|
601
|
-
uniqueOplog_1.splice(i, 1);
|
|
602
|
-
}
|
|
603
603
|
return [2 /*return*/, "continue"];
|
|
604
604
|
}
|
|
605
605
|
}
|
|
@@ -613,9 +613,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
613
613
|
sub['oplog'] = oplog;
|
|
614
614
|
uniquePubs.push(sub);
|
|
615
615
|
}
|
|
616
|
-
else {
|
|
617
|
-
uniqueOplog_1.splice(i, 1);
|
|
618
|
-
}
|
|
619
616
|
return [2 /*return*/, "continue"];
|
|
620
617
|
}
|
|
621
618
|
return [3 /*break*/, 3];
|
|
@@ -626,9 +623,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
626
623
|
sub['oplog'] = oplog;
|
|
627
624
|
uniquePubs.push(sub);
|
|
628
625
|
}
|
|
629
|
-
else {
|
|
630
|
-
uniqueOplog_1.splice(i, 1);
|
|
631
|
-
}
|
|
632
626
|
return [2 /*return*/, "continue"];
|
|
633
627
|
}
|
|
634
628
|
}
|
|
@@ -637,9 +631,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
637
631
|
sub['oplog'] = oplog;
|
|
638
632
|
uniquePubs.push(sub);
|
|
639
633
|
}
|
|
640
|
-
else {
|
|
641
|
-
uniqueOplog_1.splice(i, 1);
|
|
642
|
-
}
|
|
643
634
|
return [2 /*return*/, "continue"];
|
|
644
635
|
}
|
|
645
636
|
_c.label = 3;
|