Cache the AP delivery process

This commit is contained in:
Michael 2018-10-05 21:00:40 +00:00
parent be7bd10678
commit 51dbffd396
3 changed files with 34 additions and 3 deletions

View file

@ -433,6 +433,9 @@ class Notifier
$inboxes = array_merge($inboxes, $parent_inboxes);
}
// Fill the item cache
ActivityPub\Transmitter::createCachedActivityFromItem($item_id);
foreach ($inboxes as $inbox) {
logger('Deliver ' . $item_id .' to ' . $inbox .' via ActivityPub', LOGGER_DEBUG);