To help solve #690120: Cannot reliably check node_access from inside hook_node_save() with node grants we should likely use D7's Queue API and whenever a link is flagged for updating (like when a node is added/changed), it should be put into a queue and done at the end of the page request (or during cron).

Comments

dave reid’s picture

Priority: Normal » Major
dave reid’s picture

This is waiting on #892114: Application to co-maintain Drupal Queue (is Drupal Queue maintained?) so that some issues can be resolved in the drupal_queue module.

nagba’s picture

StatusFileSize
new6.75 KB

Initial code for the feature. No tests yet. Is this something you had in mind ?

nagba’s picture

*facepalm* managed to upload the wrong patch.

Leeteq’s picture

Issue summary: View changes

#892114: Application to co-maintain Drupal Queue (is Drupal Queue maintained?) was fixed 4 years ago.
Now we have an untested patch awaiting feedback.

Leeteq’s picture

Status: Active » Needs review

The last submitted patch, 3: mast-module-changes-2021871-3.patch, failed testing.

Status: Needs review » Needs work
webservant316’s picture

the issue here https://www.drupal.org/node/708078 is waiting for this patch. any progress?

dave reid’s picture

The queing system has been added by #2417027: Use support for running rebuild via queues, now we just need to implement it everywhere.

naveenvalecha’s picture

Status: Needs work » Needs review
StatusFileSize
new2.76 KB

Straight reroll of #4

Status: Needs review » Needs work

The last submitted patch, 11: xmlsitemap-link-update-queue-delayed-changes-786484-11.patch, failed testing.

socialnicheguru’s picture

How does one test this?

lnunesbr’s picture

Making last patch compatible with 7.x-2.x-dev