Move every Triggers.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory server/)

pull/5014/head
Martin Filser 2 years ago
parent d6142e4b75
commit ebb356cf2d
  1. 2
      server/rulesHelper.js

@ -17,7 +17,7 @@ RulesHelper = {
}
const matchingFields = TriggersDef[activityType].matchingFields;
const matchingMap = this.buildMatchingFieldsMap(activity, matchingFields);
const matchingTriggers = Triggers.find(matchingMap);
const matchingTriggers = ReactiveCache.getTriggers(matchingMap);
const matchingRules = [];
matchingTriggers.forEach(function(trigger) {
const rule = trigger.getRule();

Loading…
Cancel
Save