chg: [workflow:event_after_save] Changed trigger overhead to high

pull/8568/head
Sami Mokaddem 2022-08-05 14:32:32 +02:00
parent a2923513a5
commit 668566ee6e
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@ class Module_event_after_save extends WorkflowBaseTriggerModule
public $outputs = 1;
public $blocking = false;
public $misp_core_format = true;
public $trigger_overhead = self::OVERHEAD_MEDIUM;
public $trigger_overhead = self::OVERHEAD_HIGH;
public function __construct()
{
parent::__construct();
$this->trigger_overhead_message = __('This trigger is called each time an Event has been saved. Generally, the performance impact of running the workflow is low but in some cases (e.g. Very active community or frequent synchronisations) it can introduce a slight slowdown of the instance.');
$this->trigger_overhead_message = __('This trigger is called each time an Event or Attribute have been saved. This means that when a large quantity of Attributes are being saved (e.g. Feed pulling or synchronisation), the workflow will be run for as many time as there are Attributes.');
}
}