@resolveio/server-lib 22.2.19 → 22.2.20

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.
@@ -674,6 +674,9 @@ var SubscriptionManager = /** @class */ (function () {
674
674
  if (!dispatcher || !dispatcher.hasWorkers()) {
675
675
  return false;
676
676
  }
677
+ if (typeof dispatcher.hasWorkersForMethod === 'function' && !dispatcher.hasWorkersForMethod('runPublication')) {
678
+ return false;
679
+ }
677
680
  if (this._publicationWorkerQueueLimit > 0) {
678
681
  var snapshot = dispatcher.getQueueSnapshot();
679
682
  if (snapshot.queueDepth >= this._publicationWorkerQueueLimit) {