Hook calls can now be forked into a worker queue entry

This commit is contained in:
Michael 2018-02-06 22:52:36 +00:00
parent 66e3c1836e
commit 47d165cb25
9 changed files with 47 additions and 68 deletions

View file

@ -553,7 +553,8 @@ class Notifier {
logger('notifier: calling hooks', LOGGER_DEBUG);
if ($normal_mode) {
Addon::callHooks('notifier_normal',$target_item);
Addon::ForkHooks($a->queue['priority'], 'notifier_normal', $target_item);
//Addon::callHooks('notifier_normal',$target_item);
}
Addon::callHooks('notifier_end',$target_item);