mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Hook calls can now be forked into a worker queue entry
This commit is contained in:
parent
66e3c1836e
commit
47d165cb25
9 changed files with 47 additions and 68 deletions
|
@ -40,6 +40,9 @@ Class Cron {
|
|||
|
||||
logger('cron: start');
|
||||
|
||||
// Fork the cron jobs in separate parts to avoid problems when one of them is crashing
|
||||
Addon::ForkHooks($a->queue['priority'], "cron");
|
||||
|
||||
// run queue delivery process in the background
|
||||
Worker::add(PRIORITY_NEGLIGIBLE, "Queue");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue