@resolveio/server-lib 5.0.0 → 5.0.1
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.
|
@@ -726,7 +726,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
726
726
|
that._mainServer.getMethodManager().callMethodInternal('insertSubscriptionLog', type, subscription.publication, collection, JSON.stringify(subscription.subscriptionData));
|
|
727
727
|
}
|
|
728
728
|
(_a = that._publications[subscription.publication].function).call.apply(_a, [Object.assign({}, that, SubscriptionManager.prototype)].concat(subscription.subscriptionData)).then(function (res) {
|
|
729
|
-
console.log(common_1.getBinarySize(JSON.stringify(_this._subCache)));
|
|
730
729
|
if (common_1.getBinarySize(JSON.stringify(_this._subCache)) < 750000000) {
|
|
731
730
|
_this._subCache.splice(0, 1);
|
|
732
731
|
}
|
|
@@ -796,7 +795,6 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
796
795
|
that._mainServer.getMethodManager().callMethodInternal('insertSubscriptionLog', type, subscription.publication, collection, JSON.stringify(subscription.subscriptionData));
|
|
797
796
|
}
|
|
798
797
|
(_a = that._publications[subscription.publication].function).call.apply(_a, [Object.assign({}, that, SubscriptionManager.prototype)].concat(subscription.subscriptionData)).then(function (res) {
|
|
799
|
-
console.log(common_1.getBinarySize(JSON.stringify(_this._subCache)));
|
|
800
798
|
if (common_1.getBinarySize(JSON.stringify(_this._subCache)) < 750000000) {
|
|
801
799
|
_this._subCache.splice(0, 1);
|
|
802
800
|
}
|