Notify loads all nodes/comments in database using
$this->entityTypeManager->getStorage('node')->loadMultiple()
$this->entityTypeManager->getStorage('comment')->loadMultiple()
;in \Drupal\notify\Notify::send()
.
When the site has many nodes (like 50,000+ nodes), PHP uses up memory / execution time with those lines.
Do not use loadMultiple(), use entityQuery or SelectQuery instead and gather entity-id / created / changed used later.
Attached is the patch.
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.